Datasheet

Table Of Contents
Bits Name Description Type Reset
1 SLEEPONEXIT Indicates sleep-on-exit when returning from Handler mode
to Thread mode:
0 = Do not sleep when returning to Thread mode.
1 = Enter sleep, or deep sleep, on return from an ISR to
Thread mode.
Setting this bit to 1 enables an interrupt driven application
to avoid returning to an empty main application.
RW 0x0
0 Reserved. - - -
CCR Register
Description
The Configuration and Control Register permanently enables stack alignment and causes unaligned accesses to
result in a Hard Fault.
Table 139. CCR
Register
Bits Name Description Type Reset
31:10 Reserved. - - -
9 STKALIGN 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.
RO 0x0
8:4 Reserved. - - -
3 UNALIGN_TRP Always reads as one, indicates that all unaligned accesses
generate a HardFault.
RO 0x0
2:0 Reserved. - - -
SHPR2 Register
Description
System handlers are a special class of exception handler that can have their priority set to any of the priority levels.
Use the System Handler Priority Register 2 to set the priority of SVCall.
Table 140. SHPR2
Register
Bits Name Description Type Reset
31:30 PRI_11 Priority of system handler 11, SVCall RW 0x0
29:0 Reserved. - - -
SHPR3 Register
Description
System handlers are a special class of exception handler that can have their priority set to any of the priority levels.
Use the System Handler Priority Register 3 to set the priority of PendSV and SysTick.
Table 141. SHPR3
Register
Bits Name Description Type Reset
31:30 PRI_15 Priority of system handler 15, SysTick RW 0x0
29:24 Reserved. - - -
RP2040 Datasheet
2.4. Cortex-M0+ 101