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 - Return to Base
sourcepub fn vectpending(&self) -> VECTPENDING_R
pub fn vectpending(&self) -> VECTPENDING_R
Bits 12:17 - Vector Pending
sourcepub fn isrpending(&self) -> ISRPENDING_R
pub fn isrpending(&self) -> ISRPENDING_R
Bit 22 - Interrupt pending flag
sourcepub fn pendstset(&self) -> PENDSTSET_R
pub fn pendstset(&self) -> PENDSTSET_R
Bit 26 - SysTick exception set-pending bit
sourcepub fn pendsvset(&self) -> PENDSVSET_R
pub fn pendsvset(&self) -> PENDSVSET_R
Bit 28 - PendSV set-pending bit: 0b0=no effect, 0b1=changes PendSV exception state to pending., 0b0=PendSV exception is not pending, 0b1=PendSV exception is pending.,
sourcepub fn nmipendset(&self) -> NMIPENDSET_R
pub fn nmipendset(&self) -> NMIPENDSET_R
Bit 31 - NMI set-pending bit: 0b0=no effect, 0b1=changes NMI exception state to pending., 0b0=NMI exception is not pending, 0b1=NMI exception is pending.,