[−][src]Module cc13x2_cc26x2_hal::cpu_scs::demcr
Debug Exception and Monitor Control The purpose of this register is vector catching and debug monitor control. This register manages exception behavior under debug. Vector catching is only available to halting debug. The upper halfword is for monitor controls and the lower halfword is for halting exception support. This register is not reset on a system reset. This register is reset by a power-on reset. The fields MON_EN, MON_PEND, MON_STEP and MON_REQ are always cleared on a core reset. The debug monitor is enabled by software in the reset handler or later, or by the AHB-AP port. Vector catching is semi-synchronous. When a matching event is seen, a Halt is requested. Because the processor can only halt on an instruction boundary, it must wait until the next instruction boundary. As a result, it stops on the first instruction of the exception handler. However, two special cases exist when a vector catch has triggered: 1. If a fault is taken during a vector read or stack push error the halt occurs on the corresponding fault handler for the vector error or stack push. 2. If a late arriving interrupt detected during a vector read or stack push error it is not taken. That is, an implementation that supports the late arrival optimization must suppress it in this case.
Structs
MON_ENR | Value of the field |
MON_PENDR | Value of the field |
MON_REQR | Value of the field |
MON_STEPR | Value of the field |
R | Value read from the register |
RESERVED1R | Value of the field |
RESERVED11R | Value of the field |
RESERVED20R | Value of the field |
RESERVED25R | Value of the field |
TRCENAR | Value of the field |
VC_BUSERRR | Value of the field |
VC_CHKERRR | Value of the field |
VC_CORERESETR | Value of the field |
VC_HARDERRR | Value of the field |
VC_INTERRR | Value of the field |
VC_MMERRR | Value of the field |
VC_NOCPERRR | Value of the field |
VC_STATERRR | Value of the field |
W | Value to write to the register |
_MON_ENW | Proxy |
_MON_PENDW | Proxy |
_MON_REQW | Proxy |
_MON_STEPW | Proxy |
_RESERVED1W | Proxy |
_RESERVED11W | Proxy |
_RESERVED20W | Proxy |
_RESERVED25W | Proxy |
_TRCENAW | Proxy |
_VC_BUSERRW | Proxy |
_VC_CHKERRW | Proxy |
_VC_CORERESETW | Proxy |
_VC_HARDERRW | Proxy |
_VC_INTERRW | Proxy |
_VC_MMERRW | Proxy |
_VC_NOCPERRW | Proxy |
_VC_STATERRW | Proxy |