Technical Reference Manual 002-29852 Rev. *B
4.13.2.5 CM4_DWT_SLEEPCNT
Description:
Sleep Count register
Address:
0xE0001010
Offset:
0x10
Retention:
Retained
IsDeepSleep:
No
Comment:
The SLEEPCNT register characteristics are:
Purpose: Counts the total number of cycles that the processor is sleeping.
Usage constraints: The counter initializes to 0 when software enables its counter overflow
event by setting the CTRL.SLEEPEVTENA bit to 1.
Configurations:
Implemented only when CTRL.NOPRFCNT is RAZ, see Control register, CTRL on Arm TRM
page C1-797.
If CTRL.NOPRFCNT is RAO, indicating that the implementation does not include the profiling
counters, this register is UNK/SBZP.
Attributes: See Table C1-21 on page C1-797.
Default:
0x0
Bit-field Table
Bits 7 6 5 4 3 2 1 0
Name SLEEPCNT [7:0]
Bits 15 14 13 12 11 10 9 8
Name None [15:8]
Bits 23 22 21 20 19 18 17 16
Name None [23:16]
Bits 31 30 29 28 27 26 25 24
Name None [31:24]
Bit-fields
Bits Name SW HW Default or
Enum
Description
0:7 SLEEPCNT RW RW 0 Sleep counter. Counts one on each cycle when all of
the following are true:
- No instruction is executed, see CPI Count register,
DWT_CPICNT on page C1-801.
- No load-store operation is in progress, see LSU
Count register, DWT_LSUCNT.
- No exception-entry or exception-exit operation is in
progress, see Exception
Overhead Count register, DWT_EXCCNT on Arm
TRM page C1-802.
- In a power saving mode.
Power saving modes include WFI, WFE, and Sleep on
exit, see Power management on page B1-616.
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers