Skip to main content

write_param1

Function write_param1 

Source
const fn write_param1(zone: Zone, is_32_bytes: bool, encrypted: bool) -> u8
Expand description

Compose the param1 byte for a Write.

encrypted is only meaningful in 32-byte mode. The chip silently accepts the bit in 4-byte mode and rejects the command at execution, callers should pass false for encrypted when is_32_bytes is false.