Module rp2040_pac::ppb::ccr
source · Expand description
The Configuration and Control Register permanently enables stack alignment and causes unaligned accesses to result in a Hard Fault.
Structs§
- The Configuration and Control Register permanently enables stack alignment and causes unaligned accesses to result in a Hard Fault.
Type Aliases§
- Register
CCR
reader - Field
STKALIGN
reader - 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. - Field
UNALIGN_TRP
reader - Always reads as one, indicates that all unaligned accesses generate a HardFault.