Debug Peripherals Registers
249
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.5.3.32 STIM31 Register (Offset = 7Ch)
STIM31 is shown in
and described in
ITM Stimulus Port 31. Each of the 32 stimulus ports has its own address. A write to one of these locations
causes data to be written into the FIFO if the corresponding bit in the Trace Enable Register is set.
Reading from any of the stimulus ports returns the FIFO status in bit [0]: 0 = full, 1 = not full. The polled
FIFO interface does not provide an atomic read-modify-write, so you must use the Cortex-M4 exclusive
monitor if a polled printf is used concurrently with ITM usage by interrupts or other threads.
Figure 2-148. STIM31 Register
31
30
29
28
27
26
25
24
STIMULUS
R/W
23
22
21
20
19
18
17
16
STIMULUS
R/W
15
14
13
12
11
10
9
8
STIMULUS
R/W
7
6
5
4
3
2
1
0
STIMULUS
FIFOREADY/S
TIMULUS
R/W
R/W
Table 2-161. STIM31 Register Field Descriptions
Bit
Field
Type
Reset
Description
31-0
STIMULUS
W
Undefined
Data write to the Stimulus Port FIFO for forwarding as a software
event packet. The write is ignored if the Stimulus Port is disabled by
the Trace Enable Register.
0
FIFOREADY
R
Undefined
1 = Stimulus Port FIFO can accept at least one word
0 = Stimulus Port FIFO full or when Stimulus Port is disabled by the
Trace Enable Register