Type Alias atsame54n::system_control::icsr::R
source · pub type R = R<ICSR_SPEC>;
Expand description
Register ICSR
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn vectactive(&self) -> VECTACTIVE_R
pub fn vectactive(&self) -> VECTACTIVE_R
Bits 0:8 - Active exception number
sourcepub fn rettobase(&self) -> RETTOBASE_R
pub fn rettobase(&self) -> RETTOBASE_R
Bit 11 - No preempted active exceptions to execute
sourcepub fn vectpending(&self) -> VECTPENDING_R
pub fn vectpending(&self) -> VECTPENDING_R
Bits 12:17 - Exception number of the highest priority pending enabled exception
sourcepub fn isrpending(&self) -> ISRPENDING_R
pub fn isrpending(&self) -> ISRPENDING_R
Bit 22 - Interrupt pending flag
sourcepub fn isrpreempt(&self) -> ISRPREEMPT_R
pub fn isrpreempt(&self) -> ISRPREEMPT_R
Bit 23 - Debug only
sourcepub fn pendstclr(&self) -> PENDSTCLR_R
pub fn pendstclr(&self) -> PENDSTCLR_R
Bit 25 - SysTick clear-pending bit
sourcepub fn pendstset(&self) -> PENDSTSET_R
pub fn pendstset(&self) -> PENDSTSET_R
Bit 26 - SysTick set-pending bit
sourcepub fn pendsvclr(&self) -> PENDSVCLR_R
pub fn pendsvclr(&self) -> PENDSVCLR_R
Bit 27 - PendSV clear-pending bit
sourcepub fn pendsvset(&self) -> PENDSVSET_R
pub fn pendsvset(&self) -> PENDSVSET_R
Bit 28 - PendSV set-pending bit
sourcepub fn nmipendset(&self) -> NMIPENDSET_R
pub fn nmipendset(&self) -> NMIPENDSET_R
Bit 31 - NMI set-pending bit