[][src]Struct feather_m0::nvmctrl::ctrla::_CMDW

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

Proxy

Methods

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

pub fn variant(self, variant: CMDW) -> &'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 _CMDW<'a>

impl<'a> Sync for _CMDW<'a>

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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