R

Type Alias R 

pub type R = R<IcsrSpec>;
Expand description

Register ICSR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

§

impl R

pub fn vectactive(&self) -> VectactiveR

Bits 0:8 - Active exception number

pub fn rettobase(&self) -> RettobaseR

Bit 11 - Indicates whether there are preempted active exceptions

pub fn vectpending(&self) -> VectpendingR

Bits 12:17 - Exception number of the highest priority pending enabled exception

pub fn isrpending(&self) -> IsrpendingR

Bit 22 - Interrupt pending flag, excluding NMI and Faults

pub fn isrpreempt(&self) -> IsrpreemptR

Bit 23 - You must only use this at debug time. It indicates that a pending interrupt becomes active in the next running cycle. If C_MASKINTS is clear in the Debug Halting Control and Status Register, the interrupt is serviced

pub fn pendstset(&self) -> PendstsetR

Bit 26 - SysTick exception set-pending bit

pub fn pendsvset(&self) -> PendsvsetR

Bit 28 - PendSV set-pending bit

pub fn nmipendset(&self) -> NmipendsetR

Bit 31 - NMI set-pending bit