DBG_C field descriptions
Field
Description
7
DBGEN
DBG Module Enable Bit
The DBGEN bit enables the DBG module. The DBGEN bit is forced to zero and cannot be set if the MCU
is secure.
0
DBG not enabled.
1
DBG enabled.
6
ARM
Arm Bit
The ARM bit controls whether the debugger is comparing and storing data in FIFO.
0
Debugger not armed.
1
Debugger armed.
5
TAG
Tag or Force Bit
The TAG bit controls whether a debugger or comparator C breakpoint will be requested as a tag or force
breakpoint to the CPU. The TAG bit is not used if BRKEN = 0.
0
Force request selected.
1
Tag request selected.
4
BRKEN
Break Enable Bit
The BRKEN bit controls whether the debugger will request a breakpoint to the CPU at the end of a trace
run, and whether comparator C will request a breakpoint to the CPU.
0
CPU break request not enabled.
1
CPU break request enabled.
3–1
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
0
LOOP1
Select LOOP1 Capture Mode
This bit selects either normal capture mode or LOOP1 capture mode. LOOP1 is not used in event-only
modes.
0
Normal operation - capture COF events into the capture buffer FIFO.
1
LOOP1 capture mode enabled. When the conditions are met to store a COF value into the FIFO,
compare the current COF address with the address in comparator C. If these addresses match,
override the FIFO capture and do not increment the FIFO count. If the address does not match
comparator C, capture the COF address, including the PPACC indicator, into the FIFO and into
comparator C..
19.3.14 Debug Trigger Register (DBG_T)
NOTE
The figure shows the values in POR or non-end-run reset. All
the bits are undefined in end-run reset. In the case of an end-
trace to reset where DBGEN=1 and BEGIN=0, the ARM and
BRKEN bits are cleared but the remaining control bits in this
register do not change after reset.
Memory map and registers
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
384
NXP Semiconductors
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...