STM32F103xB HAL User Manual
Functions
Configuration
PWR Exported Functions

Functions

__STATIC_INLINE void LL_PWR_EnableBkUpAccess (void)
 Enable access to the backup domain.
__STATIC_INLINE void LL_PWR_DisableBkUpAccess (void)
 Disable access to the backup domain.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpAccess (void)
 Check if the backup domain is enabled.
__STATIC_INLINE void LL_PWR_SetRegulModeDS (uint32_t RegulMode)
 Set voltage Regulator mode during deep sleep mode.
__STATIC_INLINE uint32_t LL_PWR_GetRegulModeDS (void)
 Get voltage Regulator mode during deep sleep mode.
__STATIC_INLINE void LL_PWR_SetPowerMode (uint32_t PDMode)
 Set Power Down mode when CPU enters deepsleep.
__STATIC_INLINE uint32_t LL_PWR_GetPowerMode (void)
 Get Power Down mode when CPU enters deepsleep.
__STATIC_INLINE void LL_PWR_SetPVDLevel (uint32_t PVDLevel)
 Configure the voltage threshold detected by the Power Voltage Detector.
__STATIC_INLINE uint32_t LL_PWR_GetPVDLevel (void)
 Get the voltage threshold detection.
__STATIC_INLINE void LL_PWR_EnablePVD (void)
 Enable Power Voltage Detector.
__STATIC_INLINE void LL_PWR_DisablePVD (void)
 Disable Power Voltage Detector.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledPVD (void)
 Check if Power Voltage Detector is enabled.
__STATIC_INLINE void LL_PWR_EnableWakeUpPin (uint32_t WakeUpPin)
 Enable the WakeUp PINx functionality.
__STATIC_INLINE void LL_PWR_DisableWakeUpPin (uint32_t WakeUpPin)
 Disable the WakeUp PINx functionality.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin (uint32_t WakeUpPin)
 Check if the WakeUp PINx functionality is enabled.

Function Documentation

__STATIC_INLINE void LL_PWR_DisableBkUpAccess ( void  )

Disable access to the backup domain.

Reference Manual to LL API cross reference:
CR DBP LL_PWR_DisableBkUpAccess
Return values:
None

Definition at line 175 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisablePVD ( void  )

Disable Power Voltage Detector.

Reference Manual to LL API cross reference:
CR PVDE LL_PWR_DisablePVD
Return values:
None

Definition at line 296 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableWakeUpPin ( uint32_t  WakeUpPin)

Disable the WakeUp PINx functionality.

Reference Manual to LL API cross reference:
CSR EWUP LL_PWR_DisableWakeUpPin
Parameters:
WakeUpPinThis parameter can be one of the following values:
Return values:
None

Definition at line 330 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableBkUpAccess ( void  )

Enable access to the backup domain.

Reference Manual to LL API cross reference:
CR DBP LL_PWR_EnableBkUpAccess
Return values:
None

Definition at line 165 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnablePVD ( void  )

Enable Power Voltage Detector.

Reference Manual to LL API cross reference:
CR PVDE LL_PWR_EnablePVD
Return values:
None

Definition at line 286 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableWakeUpPin ( uint32_t  WakeUpPin)

Enable the WakeUp PINx functionality.

Reference Manual to LL API cross reference:
CSR EWUP LL_PWR_EnableWakeUpPin
Parameters:
WakeUpPinThis parameter can be one of the following values:
Return values:
None

Definition at line 318 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetPowerMode ( void  )

Get Power Down mode when CPU enters deepsleep.

Reference Manual to LL API cross reference:
CR PDDS LL_PWR_GetPowerMode
Reference Manual to LL API cross reference:
CR LPDS LL_PWR_GetPowerMode
Return values:
Returnedvalue can be one of the following values:

Definition at line 239 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetPVDLevel ( void  )

Get the voltage threshold detection.

Reference Manual to LL API cross reference:
CR PLS LL_PWR_GetPVDLevel
Return values:
Returnedvalue can be one of the following values:

Definition at line 276 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetRegulModeDS ( void  )

Get voltage Regulator mode during deep sleep mode.

Reference Manual to LL API cross reference:
CR LPDS LL_PWR_GetRegulModeDS
Return values:
Returnedvalue can be one of the following values:

Definition at line 210 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpAccess ( void  )

Check if the backup domain is enabled.

Reference Manual to LL API cross reference:
CR DBP LL_PWR_IsEnabledBkUpAccess
Return values:
Stateof bit (1 or 0).

Definition at line 185 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledPVD ( void  )

Check if Power Voltage Detector is enabled.

Reference Manual to LL API cross reference:
CR PVDE LL_PWR_IsEnabledPVD
Return values:
Stateof bit (1 or 0).

Definition at line 306 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin ( uint32_t  WakeUpPin)

Check if the WakeUp PINx functionality is enabled.

Reference Manual to LL API cross reference:
CSR EWUP LL_PWR_IsEnabledWakeUpPin
Parameters:
WakeUpPinThis parameter can be one of the following values:
Return values:
Stateof bit (1 or 0).

Definition at line 342 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetPowerMode ( uint32_t  PDMode)

Set Power Down mode when CPU enters deepsleep.

Reference Manual to LL API cross reference:
CR PDDS LL_PWR_SetPowerMode
Reference Manual to LL API cross reference:
CR LPDS LL_PWR_SetPowerMode
Parameters:
PDModeThis parameter can be one of the following values:
Return values:
None

Definition at line 225 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetPVDLevel ( uint32_t  PVDLevel)

Configure the voltage threshold detected by the Power Voltage Detector.

Reference Manual to LL API cross reference:
CR PLS LL_PWR_SetPVDLevel
Parameters:
PVDLevelThis parameter can be one of the following values:
Return values:
None

Definition at line 258 of file stm32f1xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetRegulModeDS ( uint32_t  RegulMode)

Set voltage Regulator mode during deep sleep mode.

Reference Manual to LL API cross reference:
CR LPDS LL_PWR_SetRegulModeDS
Parameters:
RegulModeThis parameter can be one of the following values:
Return values:
None

Definition at line 198 of file stm32f1xx_ll_pwr.h.