Type Alias rp2040_pac::ppb::ccr::R

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

Register CCR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn unalign_trp(&self) -> UNALIGN_TRP_R

Bit 3 - Always reads as one, indicates that all unaligned accesses generate a HardFault.

source

pub fn stkalign(&self) -> STKALIGN_R

Bit 9 - Always reads as one, indicates 8-byte stack alignment on exception entry. On exception entry, the processor uses bit[9] of the stacked PSR to indicate the stack alignment. On return from the exception it uses this stacked bit to restore the correct stack alignment.