![Texas Instruments SimpleLink MSP432P4 Series Скачать руководство пользователя страница 152](http://html1.mh-extra.com/html/texas-instruments/simplelink-msp432p4-series/simplelink-msp432p4-series_technical-reference-manual_1095579152.webp)
Functional Peripherals Registers
152
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.4.5.13 DFSR Register (Offset = D30h) [reset = 00000000h]
DFSR is shown in
and described in
.
Debug Fault Status Register. Use the Debug Fault Status Register to monitor: external debug requests,
vector catches, data watchpoint match, BKPT instruction execution, halt requests. Multiple flags in the
Debug Fault Status Register can be set when multiple fault conditions occur. The register is read/write
clear. This means that it can be read normally. Writing a 1 to a bit clears that bit. Note that these bits are
not set unless the event is caught. This means that it causes a stop of some sort. If halting debug is
enabled, these events stop the processor into debug. If debug is disabled and the debug monitor is
enabled, then this becomes a debug monitor handler call, if priority permits. If debug and the monitor are
both disabled, some of these events are Hard Faults, and the DBGEVT bit is set in the Hard Fault status
register, and some are ignored.
Figure 2-63. DFSR Register
31
30
29
28
27
26
25
24
RESERVED
R/W-0h
23
22
21
20
19
18
17
16
RESERVED
R/W-0h
15
14
13
12
11
10
9
8
RESERVED
R/W-0h
7
6
5
4
3
2
1
0
RESERVED
EXTERNAL
VCATCH
DWTTRAP
BKPT
HALTED
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
Table 2-71. DFSR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-5
RESERVED
R/W
0h
4
EXTERNAL
R/W
0h
External debug request flag. The processor stops on next instruction
boundary.
0b (R/W) = EDBGRQ signal not asserted
1b (R/W) = EDBGRQ signal asserted
3
VCATCH
R/W
0h
Vector catch flag. When the VCATCH flag is set, a flag in one of the
local fault status registers is also set to indicate the type of fault.
0b (R/W) = no vector catch occurred
1b (R/W) = vector catch occurred
2
DWTTRAP
R/W
0h
Data Watchpoint and Trace (DWT) flag. The processor stops at the
current instruction or at the next instruction.
0b (R/W) = no DWT match
1b (R/W) = DWT match
1
BKPT
R/W
0h
BKPT flag. The BKPT flag is set by a BKPT instruction in flash patch
code, and also by normal code. Return PC points to breakpoint
containing instruction.
0b (R/W) = no BKPT instruction execution
1b (R/W) = BKPT instruction execution
0
HALTED
R/W
0h
Halt request flag. The processor is halted on the next instruction.
0b (R/W) = no halt request
1b (R/W) = halt requested by NVIC, including step