Power control (PWR)
Mode name
Entry
WFI or Return
Sleep
from ISR
(Sleep-now or
Sleep-on-exit)
WFE
Low-power
Set LPR bit
run
Set LPR bit +
WFI or Return
Low-power
from ISR
sleep
Set LPR bit +
WFE
LPMS="000" +
SLEEPDEEP bit
Stop 0
+ WFI or Return
from ISR or WFE
LPMS="001" +
SLEEPDEEP bit
Stop 1
+ WFI or Return
from ISR or WFE
LPMS="011"+
Set RRS bit +
Standby with
SLEEPDEEP bit
SRAM2
+ WFI or Return
from ISR or WFE
LPMS="011" +
Clear RRS bit +
SLEEPDEEP bit
Standby
+ WFI or Return
from ISR or WFE
LPMS="1--" +
SLEEPDEEP bit
Shutdown
+ WFI or Return
from ISR or WFE
1. Refer to
Table 41: Functionalities depending on the working
240/2126
Table 40. Low-power mode summary
Wakeup
(1)
source
system clock
Same as before
Any interrupt
entering Sleep
Wakeup event
Same as Low-
Clear LPR bit
power run clock
Same as before
Any interrupt
entering Low-
power sleep
Wakeup event
Any EXTI line
(configured in the
EXTI registers)
Specific
peripherals
events
WKUP pin edge,
RTC event, TAMP
event, external
reset on NRST
pin, IWDG reset
WKUP pin edge,
RTC event, TAMP
event, external
reset on NRST
pin
RM0440 Rev 4
Wakeup
Effect on clocks
CPU clock OFF
no effect on other clocks
mode
or analog clock sources
CPU clock OFF
no effect on other clocks
or analog clock sources
mode
All clocks OFF except
LSI and LSE
HSI16
All clocks OFF except
mode.
RM0440
Voltage
regulators
MR
ON
None
OFF
ON
OFF
LSE
LPR
ON
OFF
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?