STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for Configuration:

Functions

__STATIC_INLINE void LL_PWR_EnableFLASHInterfaceSTOP (void)
 Enable FLASH interface STOP while system Run is ON @rmtoll CR FISSR LL_PWR_EnableFLASHInterfaceSTOP. More...
 
__STATIC_INLINE void LL_PWR_DisableFLASHInterfaceSTOP (void)
 Disable FLASH Interface STOP while system Run is ON @rmtoll CR FISSR LL_PWR_DisableFLASHInterfaceSTOP. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledFLASHInterfaceSTOP (void)
 Check if FLASH Interface STOP while system Run feature is enabled @rmtoll CR FISSR LL_PWR_IsEnabledFLASHInterfaceSTOP. More...
 
__STATIC_INLINE void LL_PWR_EnableFLASHMemorySTOP (void)
 Enable FLASH Memory STOP while system Run is ON @rmtoll CR FMSSR LL_PWR_EnableFLASHMemorySTOP. More...
 
__STATIC_INLINE void LL_PWR_DisableFLASHMemorySTOP (void)
 Disable FLASH Memory STOP while system Run is ON @rmtoll CR FMSSR LL_PWR_DisableFLASHMemorySTOP. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledFLASHMemorySTOP (void)
 Check if FLASH Memory STOP while system Run feature is enabled @rmtoll CR FMSSR LL_PWR_IsEnabledFLASHMemorySTOP. More...
 
__STATIC_INLINE void LL_PWR_EnableUnderDriveMode (void)
 Enable Under Drive Mode @rmtoll CR UDEN LL_PWR_EnableUnderDriveMode. More...
 
__STATIC_INLINE void LL_PWR_DisableUnderDriveMode (void)
 Disable Under Drive Mode @rmtoll CR UDEN LL_PWR_DisableUnderDriveMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledUnderDriveMode (void)
 Check if Under Drive Mode is enabled @rmtoll CR UDEN LL_PWR_IsEnabledUnderDriveMode. More...
 
__STATIC_INLINE void LL_PWR_EnableOverDriveSwitching (void)
 Enable Over drive switching @rmtoll CR ODSWEN LL_PWR_EnableOverDriveSwitching. More...
 
__STATIC_INLINE void LL_PWR_DisableOverDriveSwitching (void)
 Disable Over drive switching @rmtoll CR ODSWEN LL_PWR_DisableOverDriveSwitching. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledOverDriveSwitching (void)
 Check if Over drive switching is enabled @rmtoll CR ODSWEN LL_PWR_IsEnabledOverDriveSwitching. More...
 
__STATIC_INLINE void LL_PWR_EnableOverDriveMode (void)
 Enable Over drive Mode @rmtoll CR ODEN LL_PWR_EnableOverDriveMode. More...
 
__STATIC_INLINE void LL_PWR_DisableOverDriveMode (void)
 Disable Over drive Mode @rmtoll CR ODEN LL_PWR_DisableOverDriveMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledOverDriveMode (void)
 Check if Over drive switching is enabled @rmtoll CR ODEN LL_PWR_IsEnabledOverDriveMode. More...
 
__STATIC_INLINE void LL_PWR_EnableMainRegulatorDeepSleepUDMode (void)
 Enable Main Regulator in deepsleep under-drive Mode @rmtoll CR MRUDS LL_PWR_EnableMainRegulatorDeepSleepUDMode. More...
 
__STATIC_INLINE void LL_PWR_DisableMainRegulatorDeepSleepUDMode (void)
 Disable Main Regulator in deepsleep under-drive Mode @rmtoll CR MRUDS LL_PWR_DisableMainRegulatorDeepSleepUDMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode (void)
 Check if Main Regulator in deepsleep under-drive Mode is enabled @rmtoll CR MRUDS LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode. More...
 
__STATIC_INLINE void LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode (void)
 Enable Low Power Regulator in deepsleep under-drive Mode @rmtoll CR LPUDS LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode. More...
 
__STATIC_INLINE void LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode (void)
 Disable Low Power Regulator in deepsleep under-drive Mode @rmtoll CR LPUDS LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode (void)
 Check if Low Power Regulator in deepsleep under-drive Mode is enabled @rmtoll CR LPUDS LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode. More...
 
__STATIC_INLINE void LL_PWR_EnableMainRegulatorLowVoltageMode (void)
 Enable Main Regulator low voltage Mode @rmtoll CR MRLVDS LL_PWR_EnableMainRegulatorLowVoltageMode. More...
 
__STATIC_INLINE void LL_PWR_DisableMainRegulatorLowVoltageMode (void)
 Disable Main Regulator low voltage Mode @rmtoll CR MRLVDS LL_PWR_DisableMainRegulatorLowVoltageMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledMainRegulatorLowVoltageMode (void)
 Check if Main Regulator low voltage Mode is enabled @rmtoll CR MRLVDS LL_PWR_IsEnabledMainRegulatorLowVoltageMode. More...
 
__STATIC_INLINE void LL_PWR_EnableLowPowerRegulatorLowVoltageMode (void)
 Enable Low Power Regulator low voltage Mode @rmtoll CR LPLVDS LL_PWR_EnableLowPowerRegulatorLowVoltageMode. More...
 
__STATIC_INLINE void LL_PWR_DisableLowPowerRegulatorLowVoltageMode (void)
 Disable Low Power Regulator low voltage Mode @rmtoll CR LPLVDS LL_PWR_DisableLowPowerRegulatorLowVoltageMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode (void)
 Check if Low Power Regulator low voltage Mode is enabled @rmtoll CR LPLVDS LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode. More...
 
__STATIC_INLINE void LL_PWR_SetRegulVoltageScaling (uint32_t VoltageScaling)
 Set the main internal Regulator output voltage @rmtoll CR VOS LL_PWR_SetRegulVoltageScaling. More...
 
__STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling (void)
 Get the main internal Regulator output voltage @rmtoll CR VOS LL_PWR_GetRegulVoltageScaling. More...
 
__STATIC_INLINE void LL_PWR_EnableFlashPowerDown (void)
 Enable the Flash Power Down in Stop Mode @rmtoll CR FPDS LL_PWR_EnableFlashPowerDown. More...
 
__STATIC_INLINE void LL_PWR_DisableFlashPowerDown (void)
 Disable the Flash Power Down in Stop Mode @rmtoll CR FPDS LL_PWR_DisableFlashPowerDown. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledFlashPowerDown (void)
 Check if the Flash Power Down in Stop Mode is enabled @rmtoll CR FPDS LL_PWR_IsEnabledFlashPowerDown. More...
 
__STATIC_INLINE void LL_PWR_EnableBkUpAccess (void)
 Enable access to the backup domain @rmtoll CR DBP LL_PWR_EnableBkUpAccess. More...
 
__STATIC_INLINE void LL_PWR_DisableBkUpAccess (void)
 Disable access to the backup domain @rmtoll CR DBP LL_PWR_DisableBkUpAccess. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpAccess (void)
 Check if the backup domain is enabled @rmtoll CR DBP LL_PWR_IsEnabledBkUpAccess. More...
 
__STATIC_INLINE void LL_PWR_EnableBkUpRegulator (void)
 Enable the backup Regulator @rmtoll CSR BRE LL_PWR_EnableBkUpRegulator. More...
 
__STATIC_INLINE void LL_PWR_DisableBkUpRegulator (void)
 Disable the backup Regulator @rmtoll CSR BRE LL_PWR_DisableBkUpRegulator. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpRegulator (void)
 Check if the backup Regulator is enabled @rmtoll CSR BRE LL_PWR_IsEnabledBkUpRegulator. More...
 
__STATIC_INLINE void LL_PWR_SetRegulModeDS (uint32_t RegulMode)
 Set voltage Regulator mode during deep sleep mode @rmtoll CR LPDS LL_PWR_SetRegulModeDS. More...
 
__STATIC_INLINE uint32_t LL_PWR_GetRegulModeDS (void)
 Get voltage Regulator mode during deep sleep mode @rmtoll CR LPDS LL_PWR_GetRegulModeDS. More...
 
__STATIC_INLINE void LL_PWR_SetPowerMode (uint32_t PDMode)
 Set Power Down mode when CPU enters deepsleep @rmtoll CR PDDS LL_PWR_SetPowerMode
@rmtoll CR MRUDS LL_PWR_SetPowerMode
@rmtoll CR LPUDS LL_PWR_SetPowerMode
@rmtoll CR FPDS LL_PWR_SetPowerMode
@rmtoll CR MRLVDS LL_PWR_SetPowerMode
@rmtoll CR LPlVDS LL_PWR_SetPowerMode
@rmtoll CR FPDS LL_PWR_SetPowerMode
@rmtoll CR LPDS LL_PWR_SetPowerMode. More...
 
__STATIC_INLINE uint32_t LL_PWR_GetPowerMode (void)
 Get Power Down mode when CPU enters deepsleep @rmtoll CR PDDS LL_PWR_GetPowerMode
@rmtoll CR MRUDS LL_PWR_GetPowerMode
@rmtoll CR LPUDS LL_PWR_GetPowerMode
@rmtoll CR FPDS LL_PWR_GetPowerMode
@rmtoll CR MRLVDS LL_PWR_GetPowerMode
@rmtoll CR LPLVDS LL_PWR_GetPowerMode
@rmtoll CR FPDS LL_PWR_GetPowerMode
@rmtoll CR LPDS LL_PWR_GetPowerMode. More...
 
__STATIC_INLINE void LL_PWR_SetPVDLevel (uint32_t PVDLevel)
 Configure the voltage threshold detected by the Power Voltage Detector @rmtoll CR PLS LL_PWR_SetPVDLevel. More...
 
__STATIC_INLINE uint32_t LL_PWR_GetPVDLevel (void)
 Get the voltage threshold detection @rmtoll CR PLS LL_PWR_GetPVDLevel. More...
 
__STATIC_INLINE void LL_PWR_EnablePVD (void)
 Enable Power Voltage Detector @rmtoll CR PVDE LL_PWR_EnablePVD. More...
 
__STATIC_INLINE void LL_PWR_DisablePVD (void)
 Disable Power Voltage Detector @rmtoll CR PVDE LL_PWR_DisablePVD. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledPVD (void)
 Check if Power Voltage Detector is enabled @rmtoll CR PVDE LL_PWR_IsEnabledPVD. More...
 
__STATIC_INLINE void LL_PWR_EnableWakeUpPin (uint32_t WakeUpPin)
 Enable the WakeUp PINx functionality @rmtoll CSR EWUP LL_PWR_EnableWakeUpPin
@rmtoll CSR EWUP1 LL_PWR_EnableWakeUpPin
@rmtoll CSR EWUP2 LL_PWR_EnableWakeUpPin
@rmtoll CSR EWUP3 LL_PWR_EnableWakeUpPin. More...
 
__STATIC_INLINE void LL_PWR_DisableWakeUpPin (uint32_t WakeUpPin)
 Disable the WakeUp PINx functionality @rmtoll CSR EWUP LL_PWR_DisableWakeUpPin
@rmtoll CSR EWUP1 LL_PWR_DisableWakeUpPin
@rmtoll CSR EWUP2 LL_PWR_DisableWakeUpPin
@rmtoll CSR EWUP3 LL_PWR_DisableWakeUpPin. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin (uint32_t WakeUpPin)
 Check if the WakeUp PINx functionality is enabled @rmtoll CSR EWUP LL_PWR_IsEnabledWakeUpPin
@rmtoll CSR EWUP1 LL_PWR_IsEnabledWakeUpPin
@rmtoll CSR EWUP2 LL_PWR_IsEnabledWakeUpPin
@rmtoll CSR EWUP3 LL_PWR_IsEnabledWakeUpPin. More...
 

Detailed Description

Function Documentation

◆ LL_PWR_DisableBkUpAccess()

__STATIC_INLINE void LL_PWR_DisableBkUpAccess ( void  )

Disable access to the backup domain @rmtoll CR DBP LL_PWR_DisableBkUpAccess.

Return values
None

Definition at line 568 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableBkUpRegulator()

__STATIC_INLINE void LL_PWR_DisableBkUpRegulator ( void  )

Disable the backup Regulator @rmtoll CSR BRE LL_PWR_DisableBkUpRegulator.

Note
The BRE bit of the PWR_CSR register is protected against parasitic write access. The LL_PWR_EnableBkUpAccess() must be called before using this API.
Return values
None

Definition at line 601 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableFLASHInterfaceSTOP()

__STATIC_INLINE void LL_PWR_DisableFLASHInterfaceSTOP ( void  )

Disable FLASH Interface STOP while system Run is ON @rmtoll CR FISSR LL_PWR_DisableFLASHInterfaceSTOP.

Return values
None

Definition at line 218 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableFLASHMemorySTOP()

__STATIC_INLINE void LL_PWR_DisableFLASHMemorySTOP ( void  )

Disable FLASH Memory STOP while system Run is ON @rmtoll CR FMSSR LL_PWR_DisableFLASHMemorySTOP.

Return values
None

Definition at line 251 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableFlashPowerDown()

__STATIC_INLINE void LL_PWR_DisableFlashPowerDown ( void  )

Disable the Flash Power Down in Stop Mode @rmtoll CR FPDS LL_PWR_DisableFlashPowerDown.

Return values
None

Definition at line 538 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode()

__STATIC_INLINE void LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode ( void  )

Disable Low Power Regulator in deepsleep under-drive Mode @rmtoll CR LPUDS LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode.

Return values
None

Definition at line 416 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableLowPowerRegulatorLowVoltageMode()

__STATIC_INLINE void LL_PWR_DisableLowPowerRegulatorLowVoltageMode ( void  )

Disable Low Power Regulator low voltage Mode @rmtoll CR LPLVDS LL_PWR_DisableLowPowerRegulatorLowVoltageMode.

Return values
None

Definition at line 480 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableMainRegulatorDeepSleepUDMode()

__STATIC_INLINE void LL_PWR_DisableMainRegulatorDeepSleepUDMode ( void  )

Disable Main Regulator in deepsleep under-drive Mode @rmtoll CR MRUDS LL_PWR_DisableMainRegulatorDeepSleepUDMode.

Return values
None

Definition at line 384 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableMainRegulatorLowVoltageMode()

__STATIC_INLINE void LL_PWR_DisableMainRegulatorLowVoltageMode ( void  )

Disable Main Regulator low voltage Mode @rmtoll CR MRLVDS LL_PWR_DisableMainRegulatorLowVoltageMode.

Return values
None

Definition at line 448 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableOverDriveMode()

__STATIC_INLINE void LL_PWR_DisableOverDriveMode ( void  )

Disable Over drive Mode @rmtoll CR ODEN LL_PWR_DisableOverDriveMode.

Return values
None

Definition at line 353 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableOverDriveSwitching()

__STATIC_INLINE void LL_PWR_DisableOverDriveSwitching ( void  )

Disable Over drive switching @rmtoll CR ODSWEN LL_PWR_DisableOverDriveSwitching.

Return values
None

Definition at line 322 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisablePVD()

__STATIC_INLINE void LL_PWR_DisablePVD ( void  )

Disable Power Voltage Detector @rmtoll CR PVDE LL_PWR_DisablePVD.

Return values
None

Definition at line 758 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableUnderDriveMode()

__STATIC_INLINE void LL_PWR_DisableUnderDriveMode ( void  )

Disable Under Drive Mode @rmtoll CR UDEN LL_PWR_DisableUnderDriveMode.

Return values
None

Definition at line 290 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_DisableWakeUpPin()

__STATIC_INLINE void LL_PWR_DisableWakeUpPin ( uint32_t  WakeUpPin)

Disable the WakeUp PINx functionality @rmtoll CSR EWUP LL_PWR_DisableWakeUpPin
@rmtoll CSR EWUP1 LL_PWR_DisableWakeUpPin
@rmtoll CSR EWUP2 LL_PWR_DisableWakeUpPin
@rmtoll CSR EWUP3 LL_PWR_DisableWakeUpPin.

Parameters
WakeUpPinThis parameter can be one of the following values:
  • LL_PWR_WAKEUP_PIN1
  • LL_PWR_WAKEUP_PIN2 (*)
  • LL_PWR_WAKEUP_PIN3 (*)
(*) not available on all devices
Return values
None

Definition at line 806 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableBkUpAccess()

__STATIC_INLINE void LL_PWR_EnableBkUpAccess ( void  )

Enable access to the backup domain @rmtoll CR DBP LL_PWR_EnableBkUpAccess.

Return values
None

Definition at line 558 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableBkUpRegulator()

__STATIC_INLINE void LL_PWR_EnableBkUpRegulator ( void  )

Enable the backup Regulator @rmtoll CSR BRE LL_PWR_EnableBkUpRegulator.

Note
The BRE bit of the PWR_CSR register is protected against parasitic write access. The LL_PWR_EnableBkUpAccess() must be called before using this API.
Return values
None

Definition at line 589 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableFLASHInterfaceSTOP()

__STATIC_INLINE void LL_PWR_EnableFLASHInterfaceSTOP ( void  )

Enable FLASH interface STOP while system Run is ON @rmtoll CR FISSR LL_PWR_EnableFLASHInterfaceSTOP.

Note
This mode is enabled only with STOP low power mode.
Return values
None

Definition at line 208 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableFLASHMemorySTOP()

__STATIC_INLINE void LL_PWR_EnableFLASHMemorySTOP ( void  )

Enable FLASH Memory STOP while system Run is ON @rmtoll CR FMSSR LL_PWR_EnableFLASHMemorySTOP.

Note
This mode is enabled only with STOP low power mode.
Return values
None

Definition at line 241 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableFlashPowerDown()

__STATIC_INLINE void LL_PWR_EnableFlashPowerDown ( void  )

Enable the Flash Power Down in Stop Mode @rmtoll CR FPDS LL_PWR_EnableFlashPowerDown.

Return values
None

Definition at line 528 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode()

__STATIC_INLINE void LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode ( void  )

Enable Low Power Regulator in deepsleep under-drive Mode @rmtoll CR LPUDS LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode.

Return values
None

Definition at line 406 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableLowPowerRegulatorLowVoltageMode()

__STATIC_INLINE void LL_PWR_EnableLowPowerRegulatorLowVoltageMode ( void  )

Enable Low Power Regulator low voltage Mode @rmtoll CR LPLVDS LL_PWR_EnableLowPowerRegulatorLowVoltageMode.

Return values
None

Definition at line 470 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableMainRegulatorDeepSleepUDMode()

__STATIC_INLINE void LL_PWR_EnableMainRegulatorDeepSleepUDMode ( void  )

Enable Main Regulator in deepsleep under-drive Mode @rmtoll CR MRUDS LL_PWR_EnableMainRegulatorDeepSleepUDMode.

Return values
None

Definition at line 374 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableMainRegulatorLowVoltageMode()

__STATIC_INLINE void LL_PWR_EnableMainRegulatorLowVoltageMode ( void  )

Enable Main Regulator low voltage Mode @rmtoll CR MRLVDS LL_PWR_EnableMainRegulatorLowVoltageMode.

Return values
None

Definition at line 438 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableOverDriveMode()

__STATIC_INLINE void LL_PWR_EnableOverDriveMode ( void  )

Enable Over drive Mode @rmtoll CR ODEN LL_PWR_EnableOverDriveMode.

Return values
None

Definition at line 343 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableOverDriveSwitching()

__STATIC_INLINE void LL_PWR_EnableOverDriveSwitching ( void  )

Enable Over drive switching @rmtoll CR ODSWEN LL_PWR_EnableOverDriveSwitching.

Return values
None

Definition at line 312 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnablePVD()

__STATIC_INLINE void LL_PWR_EnablePVD ( void  )

Enable Power Voltage Detector @rmtoll CR PVDE LL_PWR_EnablePVD.

Return values
None

Definition at line 748 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableUnderDriveMode()

__STATIC_INLINE void LL_PWR_EnableUnderDriveMode ( void  )

Enable Under Drive Mode @rmtoll CR UDEN LL_PWR_EnableUnderDriveMode.

Note
This mode is enabled only with STOP low power mode. In this mode, the 1.2V domain is preserved in reduced leakage mode. This mode is only available when the main Regulator or the low power Regulator is in low voltage mode.
If the Under-drive mode was enabled, it is automatically disabled after exiting Stop mode. When the voltage Regulator operates in Under-drive mode, an additional
startup delay is induced when waking up from Stop mode.
Return values
None

Definition at line 280 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_EnableWakeUpPin()

__STATIC_INLINE void LL_PWR_EnableWakeUpPin ( uint32_t  WakeUpPin)

Enable the WakeUp PINx functionality @rmtoll CSR EWUP LL_PWR_EnableWakeUpPin
@rmtoll CSR EWUP1 LL_PWR_EnableWakeUpPin
@rmtoll CSR EWUP2 LL_PWR_EnableWakeUpPin
@rmtoll CSR EWUP3 LL_PWR_EnableWakeUpPin.

Parameters
WakeUpPinThis parameter can be one of the following values:
  • LL_PWR_WAKEUP_PIN1
  • LL_PWR_WAKEUP_PIN2 (*)
  • LL_PWR_WAKEUP_PIN3 (*)
(*) not available on all devices
Return values
None

Definition at line 787 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_GetPowerMode()

__STATIC_INLINE uint32_t LL_PWR_GetPowerMode ( void  )

Get Power Down mode when CPU enters deepsleep @rmtoll CR PDDS LL_PWR_GetPowerMode
@rmtoll CR MRUDS LL_PWR_GetPowerMode
@rmtoll CR LPUDS LL_PWR_GetPowerMode
@rmtoll CR FPDS LL_PWR_GetPowerMode
@rmtoll CR MRLVDS LL_PWR_GetPowerMode
@rmtoll CR LPLVDS LL_PWR_GetPowerMode
@rmtoll CR FPDS LL_PWR_GetPowerMode
@rmtoll CR LPDS LL_PWR_GetPowerMode.

Return values
Returnedvalue can be one of the following values:
  • LL_PWR_MODE_STOP_MAINREGU
  • LL_PWR_MODE_STOP_LPREGU
  • LL_PWR_MODE_STOP_MAINREGU_UNDERDRIVE (*)
  • LL_PWR_MODE_STOP_LPREGU_UNDERDRIVE (*)
  • LL_PWR_MODE_STOP_MAINREGU_DEEPSLEEP (*)
  • LL_PWR_MODE_STOP_LPREGU_DEEPSLEEP (*)
(*) not available on all devices
  • LL_PWR_MODE_STANDBY

Definition at line 695 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_GetPVDLevel()

__STATIC_INLINE uint32_t LL_PWR_GetPVDLevel ( void  )

Get the voltage threshold detection @rmtoll CR PLS LL_PWR_GetPVDLevel.

Return values
Returnedvalue can be one of the following values:
  • LL_PWR_PVDLEVEL_0
  • LL_PWR_PVDLEVEL_1
  • LL_PWR_PVDLEVEL_2
  • LL_PWR_PVDLEVEL_3
  • LL_PWR_PVDLEVEL_4
  • LL_PWR_PVDLEVEL_5
  • LL_PWR_PVDLEVEL_6
  • LL_PWR_PVDLEVEL_7

Definition at line 738 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_GetRegulModeDS()

__STATIC_INLINE uint32_t LL_PWR_GetRegulModeDS ( void  )

Get voltage Regulator mode during deep sleep mode @rmtoll CR LPDS LL_PWR_GetRegulModeDS.

Return values
Returnedvalue can be one of the following values:
  • LL_PWR_REGU_DSMODE_MAIN
  • LL_PWR_REGU_DSMODE_LOW_POWER

Definition at line 636 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_GetRegulVoltageScaling()

__STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling ( void  )

Get the main internal Regulator output voltage @rmtoll CR VOS LL_PWR_GetRegulVoltageScaling.

Return values
Returnedvalue can be one of the following values:
  • LL_PWR_REGU_VOLTAGE_SCALE1 (*)
  • LL_PWR_REGU_VOLTAGE_SCALE2
  • LL_PWR_REGU_VOLTAGE_SCALE3 (*) LL_PWR_REGU_VOLTAGE_SCALE1 is not available for STM32F401xx devices

Definition at line 519 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledBkUpAccess()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpAccess ( void  )

Check if the backup domain is enabled @rmtoll CR DBP LL_PWR_IsEnabledBkUpAccess.

Return values
Stateof bit (1 or 0).

Definition at line 578 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledBkUpRegulator()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpRegulator ( void  )

Check if the backup Regulator is enabled @rmtoll CSR BRE LL_PWR_IsEnabledBkUpRegulator.

Return values
Stateof bit (1 or 0).

Definition at line 611 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledFLASHInterfaceSTOP()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledFLASHInterfaceSTOP ( void  )

Check if FLASH Interface STOP while system Run feature is enabled @rmtoll CR FISSR LL_PWR_IsEnabledFLASHInterfaceSTOP.

Return values
Stateof bit (1 or 0).

Definition at line 228 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledFLASHMemorySTOP()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledFLASHMemorySTOP ( void  )

Check if FLASH Memory STOP while system Run feature is enabled @rmtoll CR FMSSR LL_PWR_IsEnabledFLASHMemorySTOP.

Return values
Stateof bit (1 or 0).

Definition at line 261 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledFlashPowerDown()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledFlashPowerDown ( void  )

Check if the Flash Power Down in Stop Mode is enabled @rmtoll CR FPDS LL_PWR_IsEnabledFlashPowerDown.

Return values
Stateof bit (1 or 0).

Definition at line 548 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode ( void  )

Check if Low Power Regulator in deepsleep under-drive Mode is enabled @rmtoll CR LPUDS LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode.

Return values
Stateof bit (1 or 0).

Definition at line 426 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode ( void  )

Check if Low Power Regulator low voltage Mode is enabled @rmtoll CR LPLVDS LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode.

Return values
Stateof bit (1 or 0).

Definition at line 490 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode ( void  )

Check if Main Regulator in deepsleep under-drive Mode is enabled @rmtoll CR MRUDS LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode.

Return values
Stateof bit (1 or 0).

Definition at line 394 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledMainRegulatorLowVoltageMode()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledMainRegulatorLowVoltageMode ( void  )

Check if Main Regulator low voltage Mode is enabled @rmtoll CR MRLVDS LL_PWR_IsEnabledMainRegulatorLowVoltageMode.

Return values
Stateof bit (1 or 0).

Definition at line 458 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledOverDriveMode()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledOverDriveMode ( void  )

Check if Over drive switching is enabled @rmtoll CR ODEN LL_PWR_IsEnabledOverDriveMode.

Return values
Stateof bit (1 or 0).

Definition at line 363 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledOverDriveSwitching()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledOverDriveSwitching ( void  )

Check if Over drive switching is enabled @rmtoll CR ODSWEN LL_PWR_IsEnabledOverDriveSwitching.

Return values
Stateof bit (1 or 0).

Definition at line 332 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledPVD()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledPVD ( void  )

Check if Power Voltage Detector is enabled @rmtoll CR PVDE LL_PWR_IsEnabledPVD.

Return values
Stateof bit (1 or 0).

Definition at line 768 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledUnderDriveMode()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledUnderDriveMode ( void  )

Check if Under Drive Mode is enabled @rmtoll CR UDEN LL_PWR_IsEnabledUnderDriveMode.

Return values
Stateof bit (1 or 0).

Definition at line 300 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_IsEnabledWakeUpPin()

__STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin ( uint32_t  WakeUpPin)

Check if the WakeUp PINx functionality is enabled @rmtoll CSR EWUP LL_PWR_IsEnabledWakeUpPin
@rmtoll CSR EWUP1 LL_PWR_IsEnabledWakeUpPin
@rmtoll CSR EWUP2 LL_PWR_IsEnabledWakeUpPin
@rmtoll CSR EWUP3 LL_PWR_IsEnabledWakeUpPin.

Parameters
WakeUpPinThis parameter can be one of the following values:
  • LL_PWR_WAKEUP_PIN1
  • LL_PWR_WAKEUP_PIN2 (*)
  • LL_PWR_WAKEUP_PIN3 (*)
(*) not available on all devices
Return values
Stateof bit (1 or 0).

Definition at line 825 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_SetPowerMode()

__STATIC_INLINE void LL_PWR_SetPowerMode ( uint32_t  PDMode)

Set Power Down mode when CPU enters deepsleep @rmtoll CR PDDS LL_PWR_SetPowerMode
@rmtoll CR MRUDS LL_PWR_SetPowerMode
@rmtoll CR LPUDS LL_PWR_SetPowerMode
@rmtoll CR FPDS LL_PWR_SetPowerMode
@rmtoll CR MRLVDS LL_PWR_SetPowerMode
@rmtoll CR LPlVDS LL_PWR_SetPowerMode
@rmtoll CR FPDS LL_PWR_SetPowerMode
@rmtoll CR LPDS LL_PWR_SetPowerMode.

Parameters
PDModeThis parameter can be one of the following values:
  • LL_PWR_MODE_STOP_MAINREGU
  • LL_PWR_MODE_STOP_LPREGU
  • LL_PWR_MODE_STOP_MAINREGU_UNDERDRIVE (*)
  • LL_PWR_MODE_STOP_LPREGU_UNDERDRIVE (*)
  • LL_PWR_MODE_STOP_MAINREGU_DEEPSLEEP (*)
  • LL_PWR_MODE_STOP_LPREGU_DEEPSLEEP (*)
(*) not available on all devices
  • LL_PWR_MODE_STANDBY
Return values
None

Definition at line 663 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_SetPVDLevel()

__STATIC_INLINE void LL_PWR_SetPVDLevel ( uint32_t  PVDLevel)

Configure the voltage threshold detected by the Power Voltage Detector @rmtoll CR PLS LL_PWR_SetPVDLevel.

Parameters
PVDLevelThis parameter can be one of the following values:
  • LL_PWR_PVDLEVEL_0
  • LL_PWR_PVDLEVEL_1
  • LL_PWR_PVDLEVEL_2
  • LL_PWR_PVDLEVEL_3
  • LL_PWR_PVDLEVEL_4
  • LL_PWR_PVDLEVEL_5
  • LL_PWR_PVDLEVEL_6
  • LL_PWR_PVDLEVEL_7
Return values
None

Definition at line 720 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_SetRegulModeDS()

__STATIC_INLINE void LL_PWR_SetRegulModeDS ( uint32_t  RegulMode)

Set voltage Regulator mode during deep sleep mode @rmtoll CR LPDS LL_PWR_SetRegulModeDS.

Parameters
RegulModeThis parameter can be one of the following values:
  • LL_PWR_REGU_DSMODE_MAIN
  • LL_PWR_REGU_DSMODE_LOW_POWER
Return values
None

Definition at line 624 of file stm32f4xx_ll_pwr.h.

◆ LL_PWR_SetRegulVoltageScaling()

__STATIC_INLINE void LL_PWR_SetRegulVoltageScaling ( uint32_t  VoltageScaling)

Set the main internal Regulator output voltage @rmtoll CR VOS LL_PWR_SetRegulVoltageScaling.

Parameters
VoltageScalingThis parameter can be one of the following values:
  • LL_PWR_REGU_VOLTAGE_SCALE1 (*)
  • LL_PWR_REGU_VOLTAGE_SCALE2
  • LL_PWR_REGU_VOLTAGE_SCALE3 (*) LL_PWR_REGU_VOLTAGE_SCALE1 is not available for STM32F401xx devices
Return values
None

Definition at line 505 of file stm32f4xx_ll_pwr.h.