Debug Peripherals Registers
197
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.5.2.5
SLEEPCNT Register (Offset = 10h) [reset = Undefined]
SLEEPCNT is shown in
and described in
.
DWT Sleep Count Register. Use the DWT Sleep Count Register to count the total number of cycles during
which the processor is sleeping.
Figure 2-101. SLEEPCNT 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
SLEEPCNT
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-113. SLEEPCNT Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
Undefined
7-0
SLEEPCNT
R/W
Undefined
Sleep counter. Counts the number of cycles during which the
processor is sleeping. An event is emitted on counter overflow (every
256 cycles). This counter initializes to 0 when enabled. Note that
SLEEPCNT is clocked using FCLK. It is possible that the frequency
of FCLK might be reduced while the processor is sleeping to
minimize power consumption. This means that sleep duration must
be calculated with the frequency of FCLK during sleep.