Skip to content
Commit dafc4383 authored by Alexander Mihajlovic's avatar Alexander Mihajlovic Committed by Carles Cufí
Browse files

soc: stm32l0: Clear LPSDSR when exiting STOP mode



Clear the LPSDSR bit of PWR_CR to restore the voltage regulator
mode when exiting from STOP mode. Leaving LPSDSR set can cause
cause stability issues because the MCU will enter low-power sleep mode
instead of normal sleep mode when the core idles and this is not what
the rest of the implementation expects.

Signed-off-by: default avatarAlexander Mihajlovic <a@abxy.se>
parent 7dc91432
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment