Datasheet
www.ti.com
HTU Control Registers
24.4.20 Debug Control Register (HTU DCTRL)
This register allows to create watchpoints on access to a certain location. It is intended to help debug the
application execution during program development.
Figure 24-33. Debug Control Register (HTU DCTRL) [offset = 54h]
31 28 27 24 23 17 16
Reserved CPNUM Reserved HTUDBGS
R-0 R-0 R-0 R/WS-0
15 1 0
Reserved DBREN
R-0 R/WS-0
LEGEND: R/W = Read/Write; R = Read only; WS = Write in suspend mode only; -n = value after reset
Table 24-33. Debug Control Register (HTU DCTRL) Field Descriptions
Bit Field Value Description
31-28 Reserved 0 Read returns 0. Writes have no effect.
27-24 CPNUM CP Number. These bit fields indicate the CP which should cause the watch point to match.
0 CP A of DCP0
1h CP B of DCP0
2h CP A of DCP1
3h CP B of DCP1
4h CP A of DCP2
5h CP B of DCP2
6h CP A of DCP3
7h CP B of DCP3
8h CP A of DCP4
9h CP B of DCP4
Ah CP A of DCP5
Bh CP B of DCP5
Ch CP A of DCP6
Dh CP B of DCP6
Eh CP A of DCP7
Fh CP B of DCP7
23-17 Reserved 0 Read returns 0. Writes have no effect.
16 HTUDBGS HTU Debug Status. When the main memory address is equal to the unique address defined by
WPR, or lies in the specified range resulting from WMR, then the HTUDBGS is set. If in addition
DBREN is set, then the application code execution will be stopped.
A one must be written to this bit in order to clear it and to release the CPU from debug halting
state.
0 Read: No watch point condition was detected.
Write: No effect.
1 Read: A watch point condition was detected.
Write: Clears the bit.
15-1 Reserved 0 Read returns 0. Writes have no effect.
0 DBREN Debug Request Enable
If a watch point matches and DBREN is set, then the application code execution will be stopped.
This bit can only be set or cleared when in debug mode. This bit and all other bits of the DCTRL,
WPR and WMR registers are reset by the test reset (nTRST) but not by the normal device reset.
1099
SPNU562–May 2014 High-End Timer Transfer Unit (HTU) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated