Enum atsaml21e16b::nvmctrl::ctrla::CMDSELECT_A
source · #[repr(u8)]
pub enum CMDSELECT_A {
Show 15 variants
ER,
WP,
EAR,
WAP,
SF,
WL,
RWWEEER,
RWWEEWP,
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
RWWEEER
26: RWW EEPROM area Erase Row - Erases the row addressed by the ADDR register.
RWWEEWP
28: RWW EEPROM Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register.
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: Invalidate all cache lines.
Trait Implementations§
source§impl Clone for CMDSELECT_A
impl Clone for CMDSELECT_A
source§fn clone(&self) -> CMDSELECT_A
fn clone(&self) -> CMDSELECT_A
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more