#[repr(u8)]pub enum Cmdselect {
Show 24 variants
Ep = 0,
Eb = 1,
Wp = 3,
Wqw = 4,
Swrst = 16,
Lr = 17,
Ur = 18,
Sprm = 19,
Cprm = 20,
Pbc = 21,
Ssb = 22,
Bkswrst = 23,
Celck = 24,
Ceulck = 25,
Sbpdis = 26,
Cbpdis = 27,
Asees0 = 48,
Asees1 = 49,
Seeraloc = 50,
Seeflush = 51,
Lsee = 52,
Usee = 53,
Lseer = 54,
Useer = 55,
}
Expand description
Command
Value on reset: 0
Variants§
Ep = 0
0: Erase Page - Only supported in the USER and AUX pages.
Eb = 1
1: Erase Block - Erases the block addressed by the ADDR register, not supported in the user page
Wp = 3
3: Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register, not supported in the user page
Wqw = 4
4: Write Quad Word - Writes a 128-bit word at the location addressed by the ADDR register.
Swrst = 16
16: Software Reset - Power-Cycle the NVM memory and replay the device automatic calibration procedure and resets the module configuration registers
Lr = 17
17: Lock Region - Locks the region containing the address location in the ADDR register.
Ur = 18
18: Unlock Region - Unlocks the region containing the address location in the ADDR register.
Sprm = 19
19: Sets the power reduction mode.
Cprm = 20
20: Clears the power reduction mode.
Pbc = 21
21: Page Buffer Clear - Clears the page buffer.
Ssb = 22
22: Set Security Bit
Bkswrst = 23
23: Bank swap and system reset, if SMEE is used also reallocate SMEE data into the opposite BANK
Celck = 24
24: Chip Erase Lock - DSU.CE command is not available
Ceulck = 25
25: Chip Erase Unlock - DSU.CE command is available
Sbpdis = 26
26: Sets STATUS.BPDIS, Boot loader protection is discarded until CBPDIS is issued or next start-up sequence
Cbpdis = 27
27: Clears STATUS.BPDIS, Boot loader protection is not discarded
Asees0 = 48
48: Activate SmartEEPROM Sector 0, deactivate Sector 1
Asees1 = 49
49: Activate SmartEEPROM Sector 1, deactivate Sector 0
Seeraloc = 50
50: Starts SmartEEPROM sector reallocation algorithm
Seeflush = 51
51: Flush SMEE data when in buffered mode
Lsee = 52
52: Lock access to SmartEEPROM data from any mean
Usee = 53
53: Unlock access to SmartEEPROM data
Lseer = 54
54: Lock access to the SmartEEPROM Register Address Space (above 64KB)
Useer = 55
55: Unlock access to the SmartEEPROM Register Address Space (above 64KB)