Module sr2

Module sr2 

Source
Expand description

Power status register 2

Structs§

SR2rs
Power status register 2

Type Aliases§

PVDO_R
Field PVDO reader - Programmable voltage detector output
PVMO1_R
Field PVMO1 reader - Peripheral voltage monitoring output: VDDA vs. 1.62 V Note: PVMO1 is cleared when PVM1 is disabled (PVME = 0). After enabling PVM1, the PVM1 output is valid after the PVM1 wakeup time.
PVMO2_R
Field PVMO2 reader - Peripheral voltage monitoring output: VDDA vs. 1.8 V Note: PVMO2 is cleared when PVM2 is disabled (PVME = 0). After enabling PVM2, the PVM2 output is valid after the PVM2 wakeup time.
R
Register SR2 reader
REGLPF_R
Field REGLPF reader - Low-power regulator flag This bit is set by hardware when the MCU is in Low-power run mode. When the MCU exits the Low-power run mode, this bit remains at 1 until the regulator is ready in main mode. A polling on this bit must be done before increasing the product frequency. This bit is cleared by hardware when the regulator is ready.
REGLPS_R
Field REGLPS reader - Low-power regulator started This bit provides the information whether the low-power regulator is ready after a power-on reset or a Standby/Shutdown. If the Standby mode is entered while REGLPS bit is still cleared, the wakeup from Standby mode time may be increased.
VOSF_R
Field VOSF reader - Voltage scaling flag A delay is required for the internal regulator to be ready after the voltage scaling has been changed. VOSF indicates that the regulator reached the voltage level defined with VOS bits of the PWR_CR1 register.