
Power control (PWR)
RM0351
170/1830
DocID024597 Rev 5
I/O states in Low-power sleep mode
In Low-power sleep mode, all I/O pins keep the same state as in Run mode.
Entering the Low-power sleep mode
The Low-power sleep mode is entered from low-power run mode according
, when the SLEEPDEEP bit in the Cortex
®
-M4 System Control
register is clear.
for details on how to enter the Low-power sleep mode.
Exiting the Low-power sleep mode
The low-power Sleep mode is exit according
Section : Exiting low power mode
. When
exiting the Low-power sleep mode by issuing an interrupt or an event, the MCU is in Low-
power run mode.
for details on how to exit the Low-power sleep mode.
5.3.6 Stop
0
mode
The Stop 0 mode is based on the Cortex
®
-M4 deepsleep mode combined with the
peripheral clock gating. The voltage regulator is configured in main regulator mode. In Stop
0 mode, all clocks in the V
CORE
domain are stopped; the PLL, the MSI, the HSI16 and the
Table 26. Low-power sleep
Low-power sleep-now
mode
Description
Mode entry
Low-power sleep mode is entered from the Low-power run mode.
WFI (Wait for Interrupt) or WFE (Wait for Event) while:
– SLEEPDEEP = 0
– No interrupt (for WFI) or event (for WFE) is pending
Refer to the Cortex
®
-M4 System Control register.
Low-power sleep mode is entered from the Low-power run mode.
On return from ISR while:
– SLEEPDEEP = 0 and
– SLEEPONEXIT = 1
– No interrupt is pending
Refer to the Cortex
®
-M4 System Control register.
Mode exit
If WFI or Return from ISR was used for entry
Interrupt: refer to
Table 57: STM32L4x5/STM32L4x6 vector table
If WFE was used for entry and SEVONPEND = 0:
Wakeup event: refer to
Section 14.3.2: Wakeup event management
If WFE was used for entry and SEVONPEND = 1:
Interrupt even when disabled in NVIC: refer to
STM32L4x5/STM32L4x6 vector table
Wakeup event: refer to
Section 14.3.2: Wakeup event management
After exiting the Low-power sleep mode, the MCU is in Low-power run
mode.
Wakeup latency
None