Type Alias atsame54n::nvmctrl::ctrlb::CMD_W

source ·
pub type CMD_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 7, O, CMDSELECT_AW>;
Expand description

Field CMD writer - Command

Aliased Type§

struct CMD_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> CMD_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn ep(self) -> &'a mut W<REG>

Erase Page - Only supported in the USER and AUX pages.

source

pub fn eb(self) -> &'a mut W<REG>

Erase Block - Erases the block addressed by the ADDR register, not supported in the user page

source

pub fn wp(self) -> &'a mut W<REG>

Write Page - Writes the contents of the page buffer to the page addressed by the ADDR register, not supported in the user page

source

pub fn wqw(self) -> &'a mut W<REG>

Write Quad Word - Writes a 128-bit word at the location addressed by the ADDR register.

source

pub fn swrst(self) -> &'a mut W<REG>

Software Reset - Power-Cycle the NVM memory and replay the device automatic calibration procedure and resets the module configuration registers

source

pub fn lr(self) -> &'a mut W<REG>

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

source

pub fn ur(self) -> &'a mut W<REG>

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

source

pub fn sprm(self) -> &'a mut W<REG>

Sets the power reduction mode.

source

pub fn cprm(self) -> &'a mut W<REG>

Clears the power reduction mode.

source

pub fn pbc(self) -> &'a mut W<REG>

Page Buffer Clear - Clears the page buffer.

source

pub fn ssb(self) -> &'a mut W<REG>

Set Security Bit

source

pub fn bkswrst(self) -> &'a mut W<REG>

Bank swap and system reset, if SMEE is used also reallocate SMEE data into the opposite BANK

source

pub fn celck(self) -> &'a mut W<REG>

Chip Erase Lock - DSU.CE command is not available

source

pub fn ceulck(self) -> &'a mut W<REG>

Chip Erase Unlock - DSU.CE command is available

source

pub fn sbpdis(self) -> &'a mut W<REG>

Sets STATUS.BPDIS, Boot loader protection is discarded until CBPDIS is issued or next start-up sequence

source

pub fn cbpdis(self) -> &'a mut W<REG>

Clears STATUS.BPDIS, Boot loader protection is not discarded

source

pub fn asees0(self) -> &'a mut W<REG>

Activate SmartEEPROM Sector 0, deactivate Sector 1

source

pub fn asees1(self) -> &'a mut W<REG>

Activate SmartEEPROM Sector 1, deactivate Sector 0

source

pub fn seeraloc(self) -> &'a mut W<REG>

Starts SmartEEPROM sector reallocation algorithm

source

pub fn seeflush(self) -> &'a mut W<REG>

Flush SMEE data when in buffered mode

source

pub fn lsee(self) -> &'a mut W<REG>

Lock access to SmartEEPROM data from any mean

source

pub fn usee(self) -> &'a mut W<REG>

Unlock access to SmartEEPROM data

source

pub fn lseer(self) -> &'a mut W<REG>

Lock access to the SmartEEPROM Register Address Space (above 64KB)

source

pub fn useer(self) -> &'a mut W<REG>

Unlock access to the SmartEEPROM Register Address Space (above 64KB)