Type Alias atsame54n::nvmctrl::intflag::W

source ·
pub type W = W<INTFLAG_SPEC>;
Expand description

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn done(&mut self) -> DONE_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Command Done

source

pub fn addre(&mut self) -> ADDRE_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Address Error

source

pub fn proge(&mut self) -> PROGE_W<'_, INTFLAG_SPEC, 2>

Bit 2 - Programming Error

source

pub fn locke(&mut self) -> LOCKE_W<'_, INTFLAG_SPEC, 3>

Bit 3 - Lock Error

source

pub fn eccse(&mut self) -> ECCSE_W<'_, INTFLAG_SPEC, 4>

Bit 4 - ECC Single Error

source

pub fn eccde(&mut self) -> ECCDE_W<'_, INTFLAG_SPEC, 5>

Bit 5 - ECC Dual Error

source

pub fn nvme(&mut self) -> NVME_W<'_, INTFLAG_SPEC, 6>

Bit 6 - NVM Error

source

pub fn susp(&mut self) -> SUSP_W<'_, INTFLAG_SPEC, 7>

Bit 7 - Suspended Write Or Erase Operation

source

pub fn seesfull(&mut self) -> SEESFULL_W<'_, INTFLAG_SPEC, 8>

Bit 8 - Active SEES Full

source

pub fn seesovf(&mut self) -> SEESOVF_W<'_, INTFLAG_SPEC, 9>

Bit 9 - Active SEES Overflow

source

pub fn seewrc(&mut self) -> SEEWRC_W<'_, INTFLAG_SPEC, 10>

Bit 10 - SEE Write Completed

source

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual