DEBUG_DCRSR
Bit Field |
Read/Write |
Field Name |
Description |
---|---|---|---|
16 |
W |
REGWNR |
Indicates direction of register transfer |
6:0 |
W |
REGSEL |
Indicates register to be accessed |
Bit Field |
Field Name |
Value Symbol |
Value Description |
Hex Value |
---|---|---|---|---|
16 |
REGWNR |
REGWNR_READ |
Indicates register read |
0x0 |
|
|
REGWNR_WRITE |
Indicates register write |
0x1 |
6:0 |
REGSEL |
REGSEL_R0 |
Select R0 |
0x0 |
|
|
REGSEL_R1 |
Select R1 |
0x1 |
|
|
REGSEL_R2 |
Select R2 |
0x2 |
|
|
REGSEL_R3 |
Select R3 |
0x3 |
|
|
REGSEL_R4 |
Select R4 |
0x4 |
|
|
REGSEL_R5 |
Select R5 |
0x5 |
|
|
REGSEL_R6 |
Select R6 |
0x6 |
|
|
REGSEL_R7 |
Select R7 |
0x7 |
|
|
REGSEL_R8 |
Select R8 |
0x8 |
|
|
REGSEL_R9 |
Select R9 |
0x9 |
|
|
REGSEL_R10 |
Select R10 |
0xA |
|
|
REGSEL_R11 |
Select R11 |
0xB |
|
|
REGSEL_R12 |
Select R12 |
0xC |
|
|
REGSEL_SP |
Select current stack pointer |
0xD |
|
|
REGSEL_LR |
Select LR |
0xE |
|
|
REGSEL_DRA |
Select Debug Return Address |
0xF |
|
|
REGSEL_XPSR |
Select xPSR/flags |
0x10 |
|
|
REGSEL_MSP |
Select main stack pointer |
0x11 |
|
|
REGSEL_PSP |
Select process stack pointer |
0x12 |
|
|
REGSEL_SPECREG |
Access other registers including control, FAULTMASK, BASEPRI and PRIMASK |
0x14 |
|
|
REGSEL_MSP_NS |
Select non-secure main stack pointer |
0x18 |
|
|
REGSEL_PSP_NS |
Select non-secure process stack pointer |
0x19 |
|
|
REGSEL_MPS_S |
Select secure main stack pointer |
0x1A |
|
|
REGSEL_PSP_S |
Select secure process stack pointer |
0x1B |
|
|
REGSEL_MSPLIM_S |
Select secure main stack limit |
0x1C |
|
|
REGSEL_PSPLIM_S |
Select secure process stack limit |
0x1D |
|
|
REGSEL_MSPLIM_NS |
Select non-secure main stack limit |
0x1E |
|
|
REGSEL_PSPLIM_NS |
Select non-secure process stack limit |
0x1F |
|
|
REGSEL_FPSCR |
Select Floating Point register |
0x21 |
|
|
REGSEL_SPECREG_S |
Access other registers including control, FAULTMASK, BASEPRI and PRIMASK when S_SDE = 1 |
0x22 |
|
|
REGSEL_S0 |
Select Floating point register S0 |
0x40 |
|
|
REGSEL_S1 |
Select Floating point register S1 |
0x41 |
|
|
REGSEL_S2 |
Select Floating point register S2 |
0x42 |
|
|
REGSEL_S3 |
Select Floating point register S3 |
0x43 |
|
|
REGSEL_S4 |
Select Floating point register S4 |
0x44 |
|
|
REGSEL_S5 |
Select Floating point register S5 |
0x45 |
|
|
REGSEL_S6 |
Select Floating point register S6 |
0x46 |
|
|
REGSEL_S7 |
Select Floating point register S7 |
0x47 |
|
|
REGSEL_S8 |
Select Floating point register S8 |
0x48 |
|
|
REGSEL_S9 |
Select Floating point register S9 |
0x49 |
|
|
REGSEL_S10 |
Select Floating point register S10 |
0x4A |
|
|
REGSEL_S11 |
Select Floating point register S11 |
0x4B |
|
|
REGSEL_S12 |
Select Floating point register S12 |
0x4C |
|
|
REGSEL_S13 |
Select Floating point register S13 |
0x4D |
|
|
REGSEL_S14 |
Select Floating point register S14 |
0x4E |
|
|
REGSEL_S15 |
Select Floating point register S15 |
0x4F |
|
|
REGSEL_S16 |
Select Floating point register S16 |
0x50 |
|
|
REGSEL_S17 |
Select Floating point register S17 |
0x51 |
|
|
REGSEL_S18 |
Select Floating point register S18 |
0x52 |
|
|
REGSEL_S19 |
Select Floating point register S19 |
0x53 |
|
|
REGSEL_S20 |
Select Floating point register S20 |
0x54 |
|
|
REGSEL_S21 |
Select Floating point register S21 |
0x55 |
|
|
REGSEL_S22 |
Select Floating point register S22 |
0x56 |
|
|
REGSEL_S23 |
Select Floating point register S23 |
0x57 |
|
|
REGSEL_S24 |
Select Floating point register S24 |
0x58 |
|
|
REGSEL_S25 |
Select Floating point register S25 |
0x59 |
|
|
REGSEL_S26 |
Select Floating point register S26 |
0x5A |
|
|
REGSEL_S27 |
Select Floating point register S27 |
0x5B |
|
|
REGSEL_S28 |
Select Floating point register S28 |
0x5C |
|
|
REGSEL_S29 |
Select Floating point register S29 |
0x5D |
|
|
REGSEL_S30 |
Select Floating point register S30 |
0x5E |
|
|
REGSEL_S31 |
Select Floating point register S31 |
0x5F |