Type Alias xmc4200::ppb::icsr::R

source ·
pub type R = R<ICSR_SPEC>;
Expand description

Register ICSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn vectactive(&self) -> VECTACTIVE_R

Bits 0:8 - Active exception number

source

pub fn rettobase(&self) -> RETTOBASE_R

Bit 11 - Return to Base

source

pub fn vectpending(&self) -> VECTPENDING_R

Bits 12:17 - Vector Pending

source

pub fn isrpending(&self) -> ISRPENDING_R

Bit 22 - Interrupt pending flag

source

pub fn pendstset(&self) -> PENDSTSET_R

Bit 26 - SysTick exception set-pending bit

source

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.,

source

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.,