Debug Peripherals Registers
195
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.5.2.3
CPICNT Register (Offset = 8h) [reset = Undefined]
CPICNT is shown in
and described in
DWT CPI Count Register. Use the DWT CPI Count Register to count the total number of instruction cycles
beyond the first cycle.
Figure 2-99. CPICNT 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
RESERVED
CPICNT
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
rw rw rw rw rw rw rw rw
Table 2-111. CPICNT Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
Undefined
7-0
CPICNT
R/W
Undefined
Current CPI counter value. Increments on the additional cycles (the
first cycle is not counted) required to execute all instructions except
those recorded by DWT_LSUCNT. This counter also increments on
all instruction fetch stalls. If CPIEVTENA is set, an event is emitted
when the counter overflows. Clears to 0 on enabling.