Debug Peripherals Registers
250
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.5.3.33 TER Register (Offset = E00h) [reset = 00000000h]
TER is shown in
and described in
.
ITM Trace Enable Register. Use the Trace Enable Register to generate trace data by writing to the
corresponding stimulus port. Note: Privileged writes are accepted to this register if ITMENA is set. User
writes are accepted to this register if ITMENA is set and the appropriate privilege mask is cleared.
Privileged access to the stimulus ports enables an RTOS kernel to ensure instrumentation slots or
bandwidth as required.
Figure 2-149. TER Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
STIMENA
R/W-0h
Table 2-162. TER Register Field Descriptions
Bit
Field
Type
Reset
Description
31-0
STIMENA
R/W
0h
Bit mask to enable tracing on ITM stimulus ports. One bit per
stimulus port.
2.5.3.34 TPR Register (Offset = E40h) [reset = 00000000h]
TPR is shown in
and described in
.
ITM Trace Privilege Register. Use the ITM Trace Privilege Register to enable an operating system to
control which stimulus ports are accessible by user code. Note: You can only write to this register in
privileged mode.
Figure 2-150. TPR Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RESERVED
R/W-0h
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RESERVED
PRIVMASK
R/W-0h
R/W-0h
Table 2-163. TPR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-4
RESERVED
R/W
0h
3-0
PRIVMASK
R/W
0h
Bit mask to enable tracing on ITM stimulus ports: bit [0] = stimulus
ports [7:0], bit [1] = stimulus ports [15:8], bit [2] = stimulus ports
[23:16], bit [3] = stimulus ports [31:24].