#[repr(u8)]
pub enum CMD_A {
Show 13 variants
ER,
WP,
EAR,
WAP,
SF,
WL,
LR,
UR,
SPRM,
CPRM,
PBC,
SSB,
INVALL,
}
Expand description
Command
Value on reset: 0
Variants
ER
2: Erase Row - Erases the row addressed by the ADDR register.
WP
4: Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register.
EAR
5: Erase Auxiliary Row - Erases the auxiliary row addressed by the ADDR register. This command can be given only when the security bit is not set and only to the user configuration row.
WAP
6: Write Auxiliary Page - Writes the contents of the page buffer to the page addressed by the ADDR register. This command can be given only when the security bit is not set and only to the user configuration row.
SF
10: Security Flow Command
WL
15: Write lockbits
LR
64: Lock Region - Locks the region containing the address location in the ADDR register.
UR
65: Unlock Region - Unlocks the region containing the address location in the ADDR register.
SPRM
66: Sets the power reduction mode.
CPRM
67: Clears the power reduction mode.
PBC
68: Page Buffer Clear - Clears the page buffer.
SSB
69: Set Security Bit - Sets the security bit by writing 0x00 to the first byte in the lockbit row.
INVALL
70: Invalidates all cache lines.