STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_ll_pwr.h File Reference

Header file of PWR LL module. More...

Go to the source code of this file.

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...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_WU (void)
 Get Wake-up Flag @rmtoll CSR WUF LL_PWR_IsActiveFlag_WU. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_SB (void)
 Get Standby Flag @rmtoll CSR SBF LL_PWR_IsActiveFlag_SB. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_BRR (void)
 Get Backup Regulator ready Flag @rmtoll CSR BRR LL_PWR_IsActiveFlag_BRR. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_PVDO (void)
 Indicate whether VDD voltage is below the selected PVD threshold @rmtoll CSR PVDO LL_PWR_IsActiveFlag_PVDO. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_VOS (void)
 Indicate whether the Regulator is ready in the selected voltage range or if its output voltage is still changing to the required voltage level @rmtoll CSR VOS LL_PWR_IsActiveFlag_VOS. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_OD (void)
 Indicate whether the Over-Drive mode is ready or not @rmtoll CSR ODRDY LL_PWR_IsActiveFlag_OD. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_ODSW (void)
 Indicate whether the Over-Drive mode switching is ready or not @rmtoll CSR ODSWRDY LL_PWR_IsActiveFlag_ODSW. More...
 
__STATIC_INLINE uint32_t LL_PWR_IsActiveFlag_UD (void)
 Indicate whether the Under-Drive mode is ready or not @rmtoll CSR UDRDY LL_PWR_IsActiveFlag_UD. More...
 
__STATIC_INLINE void LL_PWR_ClearFlag_SB (void)
 Clear Standby Flag @rmtoll CR CSBF LL_PWR_ClearFlag_SB. More...
 
__STATIC_INLINE void LL_PWR_ClearFlag_WU (void)
 Clear Wake-up Flags @rmtoll CR CWUF LL_PWR_ClearFlag_WU. More...
 
__STATIC_INLINE void LL_PWR_ClearFlag_UD (void)
 Clear Under-Drive ready Flag @rmtoll CSR UDRDY LL_PWR_ClearFlag_UD. More...
 
ErrorStatus LL_PWR_DeInit (void)
 De-initialize the PWR registers to their default reset values. More...
 

Detailed Description

Header file of PWR LL module.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_ll_pwr.h.