RM0033 Rev 9 73/1381
RM0033 Power control (PWR)
83
4.3.3 Sleep mode
Entering Sleep mode
The Sleep mode is entered according to Section : Entering low-power mode, when the
SLEEPDEEP bit in the Cortex
®
-M3 System Control register is cleared.
Refer to Table 8 and Table 9 for details on how to enter Sleep mode.
Exiting Sleep mode
The Sleep mode is exited according to Section : Exiting low-power mode.
Refer to Table 8 and Table 9 for more details on how to exit Sleep mode.
Table 8. Sleep-now
Sleep-now mode Description
Mode entry
WFI (Wait for Interrupt) or WFE (Wait for Event) while:
– SLEEPDEEP = 0
Refer to the Cortex
®
-M3 System Control register.
On Return from ISR while:
– SLEEPDEEP = 0 and
– SLEEPONEXIT = 1
Refer to the Cortex
®
-M3 System Control register.
Mode exit
If WFI or return from ISR was used for entry:
Interrupt: Refer to Table 20: Vector table
If WFE was used for entry and SEVONPEND = 0:
Wakeup event: Refer to Section 8.2.3: Wakeup event management
f WFE was used for entry and SEVONPEND = 1
Interrupt even when disabled in NVIC (refer to Table 20: Vector table) or
Wakeup event (refer to Section 8.2.3: Wakeup event management)
Wakeup latency None
Table 9. Sleep-on-exit
Sleep-on-exit Description
Mode entry
WFI (Wait for Interrupt) or WFE (Wait for Event) while:
– SLEEPDEEP = 0
Refer to the Cortex
®
-M3 System Control register.
On Return from ISR while:
– SLEEPDEEP = 0 and
– SLEEPONEXIT = 1
Refer to the Cortex
®
-M3 System Control register.
Mode exit Interrupt: refer to Table 20: Vector table.
Wakeup latency None