Note: A small latency happens between the
store instruction and actual writing of the SLEEPCFG register due to bridges.
Software has to make sure the SLEEPCFG register reads the wanted value before issuing
WFI instruction.
Value |
Name |
Definition |
0x0 |
Reserved |
Reserved |
0x1 |
Reserved |
Reserved |
0x2 |
IDLE |
CPU, AHBx,
and APBx clocks are OFF |
0x3 |
Reserved |
Reserved |
0x4 |
STANDBY |
ALL clocks
are OFF, unless requested by sleepwalking peripheral |
0x5 |
BACKUP |
Only Backup domain is powered
ON |
0x6 |
Reserved |
Reserved |
0x7 |
Reserved |
Reserved |