[][src]Struct atsamd21g::nvmctrl::ctrla::CMD_W

pub struct CMD_W<'a> { /* fields omitted */ }

Write proxy for field CMD

Implementations

impl<'a> CMD_W<'a>[src]

pub fn variant(self, variant: CMD_A) -> &'a mut W[src]

Writes variant to the field

pub fn er(self) -> &'a mut W[src]

Erase Row - Erases the row addressed by the ADDR register.

pub fn wp(self) -> &'a mut W[src]

Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register.

pub fn ear(self) -> &'a mut W[src]

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.

pub fn wap(self) -> &'a mut W[src]

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.

pub fn sf(self) -> &'a mut W[src]

Security Flow Command

pub fn wl(self) -> &'a mut W[src]

Write lockbits

pub fn lr(self) -> &'a mut W[src]

Lock Region - Locks the region containing the address location in the ADDR register.

pub fn ur(self) -> &'a mut W[src]

Unlock Region - Unlocks the region containing the address location in the ADDR register.

pub fn sprm(self) -> &'a mut W[src]

Sets the power reduction mode.

pub fn cprm(self) -> &'a mut W[src]

Clears the power reduction mode.

pub fn pbc(self) -> &'a mut W[src]

Page Buffer Clear - Clears the page buffer.

pub fn ssb(self) -> &'a mut W[src]

Set Security Bit - Sets the security bit by writing 0x00 to the first byte in the lockbit row.

pub fn invall(self) -> &'a mut W[src]

Invalidates all cache lines.

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CMD_W<'a>

impl<'a> !Sync for CMD_W<'a>

impl<'a> Unpin for CMD_W<'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.