atsamd21j::nvmctrl::ctrla

Type Alias CmdR

Source
pub type CmdR = FieldReader<Cmdselect>;
Expand description

Field CMD reader - Command

Aliased Type§

struct CmdR { /* private fields */ }

Implementations§

Source§

impl CmdR

Source

pub const fn variant(&self) -> Option<Cmdselect>

Get enumerated values variant

Source

pub fn is_er(&self) -> bool

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

Source

pub fn is_wp(&self) -> bool

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

Source

pub fn is_ear(&self) -> bool

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.

Source

pub fn is_wap(&self) -> bool

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.

Source

pub fn is_sf(&self) -> bool

Security Flow Command

Source

pub fn is_wl(&self) -> bool

Write lockbits

Source

pub fn is_lr(&self) -> bool

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

Source

pub fn is_ur(&self) -> bool

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

Source

pub fn is_sprm(&self) -> bool

Sets the power reduction mode.

Source

pub fn is_cprm(&self) -> bool

Clears the power reduction mode.

Source

pub fn is_pbc(&self) -> bool

Page Buffer Clear - Clears the page buffer.

Source

pub fn is_ssb(&self) -> bool

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

Source

pub fn is_invall(&self) -> bool

Invalidates all cache lines.