[][src]Enum atsamd21g18a::nvmctrl::ctrla::CMD_A

#[repr(u8)]pub enum CMD_A {
    ER,
    WP,
    EAR,
    WAP,
    SF,
    WL,
    LR,
    UR,
    SPRM,
    CPRM,
    PBC,
    SSB,
    INVALL,
}

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.

Trait Implementations

impl Clone for CMD_A[src]

impl Copy for CMD_A[src]

impl Debug for CMD_A[src]

impl From<CMD_A> for u8[src]

impl PartialEq<CMD_A> for CMD_A[src]

impl StructuralPartialEq for CMD_A[src]

Auto Trait Implementations

impl Send for CMD_A

impl Sync for CMD_A

impl Unpin for CMD_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.