If the HSE divided by 2, 3, ..31 is used as the RTC clock, the
Backup Domain Access should be kept enabled.
HAL_PWR_ConfigPVD
void HAL_PWR_ConfigPVD (PWR_PVDTypeDef * sConfigPVD)
Configures the voltage threshold detected by the Power Voltage
Detector(PVD).
sConfigPVD: pointer to an PWR_PVDTypeDef structure that
contains the configuration information for the PVD.
Refer to the electrical characteristics of your device datasheet
for more details about the voltage threshold corresponding to
each detection level.
HAL_PWR_EnablePVD
void HAL_PWR_EnablePVD (void )
Enables the Power Voltage Detector(PVD).
HAL_PWR_DisablePVD
void HAL_PWR_DisablePVD (void )
Disables the Power Voltage Detector(PVD).
HAL_PWR_EnableWakeUpPin
void HAL_PWR_EnableWakeUpPin (uint32_t WakeUpPinx)
Enables the Wake-up PINx functionality.
WakeUpPinx: Specifies the Power Wake-Up pin to enable.
This parameter can be one of the following values:
PWR_WAKEUP_PIN1
HAL_PWR_DisableWakeUpPin
void HAL_PWR_DisableWakeUpPin (uint32_t WakeUpPinx)
Disables the Wake-up PINx functionality.
WakeUpPinx: Specifies the Power Wake-Up pin to disable.
This parameter can be one of the following values:
PWR_WAKEUP_PIN1