Type Alias atsame54n::system_control::icsr::W
source · pub type W = W<ICSR_SPEC>;
Expand description
Register ICSR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn vectactive(&mut self) -> VECTACTIVE_W<'_, ICSR_SPEC, 0>
pub fn vectactive(&mut self) -> VECTACTIVE_W<'_, ICSR_SPEC, 0>
Bits 0:8 - Active exception number
sourcepub fn rettobase(&mut self) -> RETTOBASE_W<'_, ICSR_SPEC, 11>
pub fn rettobase(&mut self) -> RETTOBASE_W<'_, ICSR_SPEC, 11>
Bit 11 - No preempted active exceptions to execute
sourcepub fn vectpending(&mut self) -> VECTPENDING_W<'_, ICSR_SPEC, 12>
pub fn vectpending(&mut self) -> VECTPENDING_W<'_, ICSR_SPEC, 12>
Bits 12:17 - Exception number of the highest priority pending enabled exception
sourcepub fn isrpending(&mut self) -> ISRPENDING_W<'_, ICSR_SPEC, 22>
pub fn isrpending(&mut self) -> ISRPENDING_W<'_, ICSR_SPEC, 22>
Bit 22 - Interrupt pending flag
sourcepub fn isrpreempt(&mut self) -> ISRPREEMPT_W<'_, ICSR_SPEC, 23>
pub fn isrpreempt(&mut self) -> ISRPREEMPT_W<'_, ICSR_SPEC, 23>
Bit 23 - Debug only
sourcepub fn pendstclr(&mut self) -> PENDSTCLR_W<'_, ICSR_SPEC, 25>
pub fn pendstclr(&mut self) -> PENDSTCLR_W<'_, ICSR_SPEC, 25>
Bit 25 - SysTick clear-pending bit
sourcepub fn pendstset(&mut self) -> PENDSTSET_W<'_, ICSR_SPEC, 26>
pub fn pendstset(&mut self) -> PENDSTSET_W<'_, ICSR_SPEC, 26>
Bit 26 - SysTick set-pending bit
sourcepub fn pendsvclr(&mut self) -> PENDSVCLR_W<'_, ICSR_SPEC, 27>
pub fn pendsvclr(&mut self) -> PENDSVCLR_W<'_, ICSR_SPEC, 27>
Bit 27 - PendSV clear-pending bit
sourcepub fn pendsvset(&mut self) -> PENDSVSET_W<'_, ICSR_SPEC, 28>
pub fn pendsvset(&mut self) -> PENDSVSET_W<'_, ICSR_SPEC, 28>
Bit 28 - PendSV set-pending bit
sourcepub fn nmipendset(&mut self) -> NMIPENDSET_W<'_, ICSR_SPEC, 31>
pub fn nmipendset(&mut self) -> NMIPENDSET_W<'_, ICSR_SPEC, 31>
Bit 31 - NMI set-pending bit