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

source

pub fn vectactive(&self) -> VECTACTIVE_R

Bits 0:8 - Active exception number

source

pub fn rettobase(&self) -> RETTOBASE_R

Bit 11 - No preempted active exceptions to execute

source

pub fn vectpending(&self) -> VECTPENDING_R

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

source

pub fn isrpending(&self) -> ISRPENDING_R

Bit 22 - Interrupt pending flag

source

pub fn isrpreempt(&self) -> ISRPREEMPT_R

Bit 23 - Debug only

source

pub fn pendstclr(&self) -> PENDSTCLR_R

Bit 25 - SysTick clear-pending bit

source

pub fn pendstset(&self) -> PENDSTSET_R

Bit 26 - SysTick set-pending bit

source

pub fn pendsvclr(&self) -> PENDSVCLR_R

Bit 27 - PendSV clear-pending bit

source

pub fn pendsvset(&self) -> PENDSVSET_R

Bit 28 - PendSV set-pending bit

source

pub fn nmipendset(&self) -> NMIPENDSET_R

Bit 31 - NMI set-pending bit