#[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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.