STM32H735xx HAL User Manual
Functions
Configuration
PWR Exported Functions

Functions

__STATIC_INLINE void LL_PWR_SetRegulModeDS (uint32_t RegulMode)
 Set the voltage Regulator mode during deep sleep mode.
__STATIC_INLINE uint32_t LL_PWR_GetRegulModeDS (void)
 Get the voltage Regulator mode during deep sleep mode.
__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_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_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_EnableFlashPowerDown (void)
 Enable the Flash Power Down in Stop Mode.
__STATIC_INLINE void LL_PWR_DisableFlashPowerDown (void)
 Disable the Flash Power Down in Stop Mode.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledFlashPowerDown (void)
 Check if the Flash Power Down in Stop Mode is enabled.
__STATIC_INLINE void LL_PWR_SetStopModeRegulVoltageScaling (uint32_t VoltageScaling)
 Set the internal Regulator output voltage in STOP mode.
__STATIC_INLINE uint32_t LL_PWR_GetStopModeRegulVoltageScaling (void)
 Get the internal Regulator output voltage in STOP mode.
__STATIC_INLINE void LL_PWR_EnableAVD (void)
 Enable Analog Power Voltage Detector.
__STATIC_INLINE void LL_PWR_DisableAVD (void)
 Disable Analog Power Voltage Detector.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledAVD (void)
 Check if Analog Power Voltage Detector is enabled.
__STATIC_INLINE void LL_PWR_SetAVDLevel (uint32_t AVDLevel)
 Configure the voltage threshold to be detected by the Analog Power Voltage Detector.
__STATIC_INLINE uint32_t LL_PWR_GetAVDLevel (void)
 Get the Analog Voltage threshold to be detected by the Analog Power Voltage Detector.
__STATIC_INLINE void LL_PWR_EnableBkUpRegulator (void)
 Enable Backup Regulator.
__STATIC_INLINE void LL_PWR_DisableBkUpRegulator (void)
 Disable Backup Regulator.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpRegulator (void)
 Check if the backup Regulator is enabled.
__STATIC_INLINE void LL_PWR_EnableMonitoring (void)
 Enable VBAT and Temperature monitoring.
__STATIC_INLINE void LL_PWR_DisableMonitoring (void)
 Disable VBAT and Temperature monitoring.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledMonitoring (void)
 Check if the VBAT and Temperature monitoring is enabled.
__STATIC_INLINE void LL_PWR_ConfigSupply (uint32_t SupplySource)
 Configure the PWR supply.
__STATIC_INLINE uint32_t LL_PWR_GetSupply (void)
 Get the PWR supply.
__STATIC_INLINE void LL_PWR_EnableBatteryCharging (void)
 Enable battery charging.
__STATIC_INLINE void LL_PWR_DisableBatteryCharging (void)
 Disable battery charging.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBatteryCharging (void)
 Check if battery charging is enabled.
__STATIC_INLINE void LL_PWR_SetBattChargResistor (uint32_t Resistor)
 Set the Battery charge resistor impedance.
__STATIC_INLINE uint32_t LL_PWR_GetBattChargResistor (void)
 Get the Battery charge resistor impedance.
__STATIC_INLINE void LL_PWR_EnableUSBReg (void)
 Enable the USB regulator.
__STATIC_INLINE void LL_PWR_DisableUSBReg (void)
 Disable the USB regulator.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledUSBReg (void)
 Check if the USB regulator is enabled.
__STATIC_INLINE void LL_PWR_EnableUSBVoltageDetector (void)
 Enable the USB voltage detector.
__STATIC_INLINE void LL_PWR_DisableUSBVoltageDetector (void)
 Disable the USB voltage detector.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledUSBVoltageDetector (void)
 Check if the USB voltage detector is enabled.
__STATIC_INLINE void LL_PWR_CPU_SetD1PowerMode (uint32_t PDMode)
 Set the D1 domain Power Down mode when the CPU enters deepsleep.
__STATIC_INLINE uint32_t LL_PWR_CPU_GetD1PowerMode (void)
 Get the D1 Domain Power Down mode when the CPU enters deepsleep.
__STATIC_INLINE void LL_PWR_CPU_SetD2PowerMode (uint32_t PDMode)
 Set the D2 domain Power Down mode when the CPU enters deepsleep.
__STATIC_INLINE uint32_t LL_PWR_CPU_GetD2PowerMode (void)
 Get the D2 Domain Power Down mode when the CPU enters deepsleep.
__STATIC_INLINE void LL_PWR_CPU_SetD3PowerMode (uint32_t PDMode)
 Set the D3 domain Power Down mode when the CPU enters deepsleep.
__STATIC_INLINE uint32_t LL_PWR_CPU_GetD3PowerMode (void)
 Get the D3 Domain Power Down mode when the CPU enters deepsleep.
__STATIC_INLINE void LL_PWR_CPU_EnableD3RunInLowPowerMode (void)
 D3 domain remains in Run mode regardless of CPU subsystem modes.
__STATIC_INLINE void LL_PWR_CPU_DisableD3RunInLowPowerMode (void)
 D3 domain follows CPU subsystem modes.
__STATIC_INLINE uint32_t LL_PWR_CPU_IsEnabledD3RunInLowPowerMode (void)
 Check if D3 is kept in Run mode when CPU enters low power mode.
__STATIC_INLINE void LL_PWR_SetRegulVoltageScaling (uint32_t VoltageScaling)
 Set the main internal Regulator output voltage.
__STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling (void)
 Get the main internal Regulator output voltage.
__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.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow (uint32_t WakeUpPin)
 Set the Wake-Up pin polarity low for the event detection.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh (uint32_t WakeUpPin)
 Set the Wake-Up pin polarity high for the event detection.
__STATIC_INLINE uint32_t LL_PWR_IsWakeUpPinPolarityLow (uint32_t WakeUpPin)
 Get the Wake-Up pin polarity for the event detection.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPullNone (uint32_t WakeUpPin)
 Set the Wake-Up pin Pull None.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPullUp (uint32_t WakeUpPin)
 Set the Wake-Up pin Pull Up.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPullDown (uint32_t WakeUpPin)
 Set the Wake-Up pin Pull Down.
__STATIC_INLINE uint32_t LL_PWR_GetWakeUpPinPull (uint32_t WakeUpPin)
 Get the Wake-Up pin pull.

Function Documentation

__STATIC_INLINE void LL_PWR_ConfigSupply ( uint32_t  SupplySource)

Configure the PWR supply.

Reference Manual to LL API cross reference:
CR3 BYPASS LL_PWR_ConfigSupply
Reference Manual to LL API cross reference:
CR3 LDOEN LL_PWR_ConfigSupply
Reference Manual to LL API cross reference:
CR3 SMPSEN LL_PWR_ConfigSupply
Reference Manual to LL API cross reference:
CR3 SMPSEXTHP LL_PWR_ConfigSupply
Reference Manual to LL API cross reference:
CR3 SMPSLEVEL LL_PWR_ConfigSupply
Parameters:
SupplySourceThis parameter can be one of the following values:
Return values:
None

Definition at line 996 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_CPU_DisableD3RunInLowPowerMode ( void  )

D3 domain follows CPU subsystem modes.

Reference Manual to LL API cross reference:
CPUCR RUN_D3 LL_PWR_CPU_DisableD3RunInLowPowerMode
Return values:
None

Definition at line 1501 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_CPU_EnableD3RunInLowPowerMode ( void  )

D3 domain remains in Run mode regardless of CPU subsystem modes.

Reference Manual to LL API cross reference:
CPUCR RUN_D3 LL_PWR_CPU_EnableD3RunInLowPowerMode
Return values:
None

Definition at line 1467 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_CPU_GetD1PowerMode ( void  )

Get the D1 Domain Power Down mode when the CPU enters deepsleep.

Reference Manual to LL API cross reference:
CPUCR PDDS_D1 LL_PWR_CPU_GetD1PowerMode
Return values:
Returnedvalue can be one of the following values:

Definition at line 1226 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_CPU_GetD2PowerMode ( void  )

Get the D2 Domain Power Down mode when the CPU enters deepsleep.

Reference Manual to LL API cross reference:
CPUCR PDDS_D2 LL_PWR_CPU_GetD2PowerMode
Return values:
Returnedvalue can be one of the following values:

Definition at line 1296 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_CPU_GetD3PowerMode ( void  )

Get the D3 Domain Power Down mode when the CPU enters deepsleep.

Reference Manual to LL API cross reference:
CPUCR PDDS_D3 LL_PWR_CPU_GetD3PowerMode
Return values:
Returnedvalue can be one of the following values:

Definition at line 1367 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_CPU_IsEnabledD3RunInLowPowerMode ( void  )

Check if D3 is kept in Run mode when CPU enters low power mode.

Reference Manual to LL API cross reference:
CPUCR RUN_D3 LL_PWR_CPU_IsEnabledD3RunInLowPowerMode
Return values:
Stateof bit (1 or 0).

Definition at line 1535 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_CPU_SetD1PowerMode ( uint32_t  PDMode)

Set the D1 domain Power Down mode when the CPU enters deepsleep.

Reference Manual to LL API cross reference:
CPUCR PDDS_D1 LL_PWR_CPU_SetD1PowerMode
Parameters:
PDModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1184 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_CPU_SetD2PowerMode ( uint32_t  PDMode)

Set the D2 domain Power Down mode when the CPU enters deepsleep.

Reference Manual to LL API cross reference:
CPUCR PDDS_D2 LL_PWR_CPU_SetD2PowerMode
Parameters:
PDModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1267 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_CPU_SetD3PowerMode ( uint32_t  PDMode)

Set the D3 domain Power Down mode when the CPU enters deepsleep.

Reference Manual to LL API cross reference:
CPUCR PDDS_D3 LL_PWR_CPU_SetD3PowerMode
Parameters:
PDModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1325 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableAVD ( void  )

Disable Analog Power Voltage Detector.

Reference Manual to LL API cross reference:
CR1 AVDEN LL_PWR_DisableAVD
Return values:
None

Definition at line 611 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableBatteryCharging ( void  )

Disable battery charging.

Reference Manual to LL API cross reference:
CR3 VBE LL_PWR_DisableBatteryCharging
Return values:
None

Definition at line 1075 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableBkUpAccess ( void  )

Disable access to the backup domain.

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

Definition at line 460 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableBkUpRegulator ( void  )

Disable Backup Regulator.

Reference Manual to LL API cross reference:
CR2 BREN LL_PWR_DisableBkUpRegulator
Return values:
None

Definition at line 931 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableFlashPowerDown ( void  )

Disable the Flash Power Down in Stop Mode.

Reference Manual to LL API cross reference:
CR1 FLPS LL_PWR_DisableFlashPowerDown
Return values:
None

Definition at line 490 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableMonitoring ( void  )

Disable VBAT and Temperature monitoring.

Reference Manual to LL API cross reference:
CR2 MONEN LL_PWR_DisableMonitoring
Return values:
None

Definition at line 961 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisablePVD ( void  )

Disable Power Voltage Detector.

Reference Manual to LL API cross reference:
CR1 PVDEN LL_PWR_DisablePVD
Return values:
None

Definition at line 393 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableUSBReg ( void  )

Disable the USB regulator.

Reference Manual to LL API cross reference:
CR3 USBREGEN LL_PWR_DisableUSBReg
Return values:
None

Definition at line 1130 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableUSBVoltageDetector ( void  )

Disable the USB voltage detector.

Reference Manual to LL API cross reference:
CR3 USB33DEN LL_PWR_DisableUSBVoltageDetector
Return values:
None

Definition at line 1160 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_DisableWakeUpPin ( uint32_t  WakeUpPin)

Disable the WakeUp PINx functionality.

Reference Manual to LL API cross reference:
WKUPEPR WKUPEN1 LL_PWR_DisableWakeUpPin
WKUPEPR WKUPEN2 LL_PWR_DisableWakeUpPin
WKUPEPR WKUPEN3 LL_PWR_DisableWakeUpPin
WKUPEPR WKUPEN4 LL_PWR_DisableWakeUpPin
WKUPEPR WKUPEN5 LL_PWR_DisableWakeUpPin
WKUPEPR WKUPEN6 LL_PWR_DisableWakeUpPin
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1649 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableAVD ( void  )

Enable Analog Power Voltage Detector.

Reference Manual to LL API cross reference:
CR1 AVDEN LL_PWR_EnableAVD
Return values:
None

Definition at line 601 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableBatteryCharging ( void  )

Enable battery charging.

Reference Manual to LL API cross reference:
CR3 VBE LL_PWR_EnableBatteryCharging
Return values:
None

Definition at line 1065 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableBkUpAccess ( void  )

Enable access to the backup domain.

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

Definition at line 450 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableBkUpRegulator ( void  )

Enable Backup Regulator.

Reference Manual to LL API cross reference:
CR2 BREN LL_PWR_EnableBkUpRegulator
Note:
When set, the Backup Regulator (used to maintain backup SRAM content in Standby and VBAT modes) is enabled. If BRE is reset, the backup Regulator is switched off. The backup SRAM can still be used but its content will be lost in the Standby and VBAT modes. Once set, the application must wait that the Backup Regulator Ready flag (BRR) is set to indicate that the data written into the RAM will be maintained in the Standby and VBAT modes.
Return values:
None

Definition at line 921 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableFlashPowerDown ( void  )

Enable the Flash Power Down in Stop Mode.

Reference Manual to LL API cross reference:
CR1 FLPS LL_PWR_EnableFlashPowerDown
Return values:
None

Definition at line 480 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableMonitoring ( void  )

Enable VBAT and Temperature monitoring.

Reference Manual to LL API cross reference:
CR2 MONEN LL_PWR_EnableMonitoring
Return values:
None

Definition at line 951 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnablePVD ( void  )

Enable Power Voltage Detector.

Reference Manual to LL API cross reference:
CR1 PVDEN LL_PWR_EnablePVD
Return values:
None

Definition at line 383 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableUSBReg ( void  )

Enable the USB regulator.

Reference Manual to LL API cross reference:
CR3 USBREGEN LL_PWR_EnableUSBReg
Return values:
None

Definition at line 1120 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableUSBVoltageDetector ( void  )

Enable the USB voltage detector.

Reference Manual to LL API cross reference:
CR3 USB33DEN LL_PWR_EnableUSBVoltageDetector
Return values:
None

Definition at line 1150 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_EnableWakeUpPin ( uint32_t  WakeUpPin)

Enable the WakeUp PINx functionality.

Reference Manual to LL API cross reference:
WKUPEPR WKUPEN1 LL_PWR_EnableWakeUpPin
WKUPEPR WKUPEN2 LL_PWR_EnableWakeUpPin
WKUPEPR WKUPEN3 LL_PWR_EnableWakeUpPin
WKUPEPR WKUPEN4 LL_PWR_EnableWakeUpPin
WKUPEPR WKUPEN5 LL_PWR_EnableWakeUpPin
WKUPEPR WKUPEN6 LL_PWR_EnableWakeUpPin
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1624 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetAVDLevel ( void  )

Get the Analog Voltage threshold to be detected by the Analog Power Voltage Detector.

Reference Manual to LL API cross reference:
CR1 ALS LL_PWR_GetAVDLevel
Return values:
Returnedvalue can be one of the following values:

Definition at line 650 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetBattChargResistor ( void  )

Get the Battery charge resistor impedance.

Reference Manual to LL API cross reference:
CR3 VBRS LL_PWR_GetBattChargResistor
Return values:
Returnedvalue can be one of the following values:

Definition at line 1110 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetPVDLevel ( void  )

Get the voltage threshold detection.

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

Definition at line 440 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetRegulModeDS ( void  )

Get the voltage Regulator mode during deep sleep mode.

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

Definition at line 373 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling ( void  )

Get the main internal Regulator output voltage.

Reference Manual to LL API cross reference:
D3CR VOS LL_PWR_GetRegulVoltageScaling
Note:
For all H7 lines except STM32H7Axxx and STM32H7Bxxx lines, checking VOS0 need the check of PWR_D3CR_VOS[1:0] field and SYSCFG_PWRCR_ODEN bit.
Return values:
Returnedvalue can be one of the following values:

Definition at line 1595 of file stm32h7xx_ll_pwr.h.

Referenced by LL_SetFlashLatency().

__STATIC_INLINE uint32_t LL_PWR_GetStopModeRegulVoltageScaling ( void  )

Get the internal Regulator output voltage in STOP mode.

Reference Manual to LL API cross reference:
CR1 SVOS LL_PWR_GetStopModeRegulVoltageScaling
Return values:
Returnedvalue can be one of the following values:

Definition at line 591 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetSupply ( void  )

Get the PWR supply.

Reference Manual to LL API cross reference:
CR3 BYPASS LL_PWR_GetSupply
Reference Manual to LL API cross reference:
CR3 LDOEN LL_PWR_GetSupply
Reference Manual to LL API cross reference:
CR3 SMPSEN LL_PWR_GetSupply
Reference Manual to LL API cross reference:
CR3 SMPSEXTHP LL_PWR_GetSupply
Reference Manual to LL API cross reference:
CR3 SMPSLEVEL LL_PWR_GetSupply
Return values:
Returnedvalue can be one of the following values:

Definition at line 1038 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_GetWakeUpPinPull ( uint32_t  WakeUpPin)

Get the Wake-Up pin pull.

Reference Manual to LL API cross reference:
WKUPEPR WKUPPUPD1 LL_PWR_GetWakeUpPinPull
WKUPEPR WKUPPUPD2 LL_PWR_GetWakeUpPinPull
WKUPEPR WKUPPUPD3 LL_PWR_GetWakeUpPinPull
WKUPEPR WKUPPUPD4 LL_PWR_GetWakeUpPinPull
WKUPEPR WKUPPUPD5 LL_PWR_GetWakeUpPinPull
WKUPEPR WKUPPUPD6 LL_PWR_GetWakeUpPinPull
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
Returnedvalue can be one of the following values:

Definition at line 1858 of file stm32h7xx_ll_pwr.h.

References LL_PWR_WAKEUP_PINS_MAX_SHIFT_MASK, and LL_PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledAVD ( void  )

Check if Analog Power Voltage Detector is enabled.

Reference Manual to LL API cross reference:
CR1 AVDEN LL_PWR_IsEnabledAVD
Return values:
Stateof bit (1 or 0).

Definition at line 621 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledBatteryCharging ( void  )

Check if battery charging is enabled.

Reference Manual to LL API cross reference:
CR3 VBE LL_PWR_IsEnabledBatteryCharging
Return values:
Stateof bit (1 or 0).

Definition at line 1085 of file stm32h7xx_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:
CR1 DBP LL_PWR_IsEnabledBkUpAccess
Return values:
Stateof bit (1 or 0).

Definition at line 470 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpRegulator ( void  )

Check if the backup Regulator is enabled.

Reference Manual to LL API cross reference:
CR2 BREN LL_PWR_IsEnabledBkUpRegulator
Return values:
Stateof bit (1 or 0).

Definition at line 941 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledFlashPowerDown ( void  )

Check if the Flash Power Down in Stop Mode is enabled.

Reference Manual to LL API cross reference:
CR1 FLPS LL_PWR_IsEnabledFlashPowerDown
Return values:
Stateof bit (1 or 0).

Definition at line 500 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledMonitoring ( void  )

Check if the VBAT and Temperature monitoring is enabled.

Reference Manual to LL API cross reference:
CR2 MONEN LL_PWR_IsEnabledMonitoring
Return values:
Stateof bit (1 or 0).

Definition at line 971 of file stm32h7xx_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:
CR1 PVDEN LL_PWR_IsEnabledPVD
Return values:
Stateof bit (1 or 0).

Definition at line 403 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledUSBReg ( void  )

Check if the USB regulator is enabled.

Reference Manual to LL API cross reference:
CR3 USBREGEN LL_PWR_IsEnabledUSBReg
Return values:
Stateof bit (1 or 0).

Definition at line 1140 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsEnabledUSBVoltageDetector ( void  )

Check if the USB voltage detector is enabled.

Reference Manual to LL API cross reference:
CR3 USB33DEN LL_PWR_IsEnabledUSBVoltageDetector
Return values:
Stateof bit (1 or 0).

Definition at line 1170 of file stm32h7xx_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:
WKUPEPR WKUPEN1 LL_PWR_IsEnabledWakeUpPin
WKUPEPR WKUPEN2 LL_PWR_IsEnabledWakeUpPin
WKUPEPR WKUPEN3 LL_PWR_IsEnabledWakeUpPin
WKUPEPR WKUPEN4 LL_PWR_IsEnabledWakeUpPin
WKUPEPR WKUPEN5 LL_PWR_IsEnabledWakeUpPin
WKUPEPR WKUPEN6 LL_PWR_IsEnabledWakeUpPin
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
Stateof bit (1 or 0).

Definition at line 1674 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE uint32_t LL_PWR_IsWakeUpPinPolarityLow ( uint32_t  WakeUpPin)

Get the Wake-Up pin polarity for the event detection.

Reference Manual to LL API cross reference:
WKUPEPR WKUPP1 LL_PWR_IsWakeUpPinPolarityLow
WKUPEPR WKUPP2 LL_PWR_IsWakeUpPinPolarityLow
WKUPEPR WKUPP3 LL_PWR_IsWakeUpPinPolarityLow
WKUPEPR WKUPP4 LL_PWR_IsWakeUpPinPolarityLow
WKUPEPR WKUPP5 LL_PWR_IsWakeUpPinPolarityLow
WKUPEPR WKUPP6 LL_PWR_IsWakeUpPinPolarityLow
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
Stateof bit (1 or 0).

Definition at line 1749 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetAVDLevel ( uint32_t  AVDLevel)

Configure the voltage threshold to be detected by the Analog Power Voltage Detector.

Reference Manual to LL API cross reference:
CR1 ALS LL_PWR_SetAVDLevel
Parameters:
AVDLevelThis parameter can be one of the following values:
Return values:
None

Definition at line 636 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetBattChargResistor ( uint32_t  Resistor)

Set the Battery charge resistor impedance.

Reference Manual to LL API cross reference:
CR3 VBRS LL_PWR_SetBattChargResistor
Parameters:
ResistorThis parameter can be one of the following values:
Return values:
None

Definition at line 1098 of file stm32h7xx_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:
CR1 PLS LL_PWR_SetPVDLevel
Parameters:
PVDLevelThis parameter can be one of the following values:
Return values:
None

Definition at line 422 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetRegulModeDS ( uint32_t  RegulMode)

Set the voltage Regulator mode during deep sleep mode.

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

Definition at line 361 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetRegulVoltageScaling ( uint32_t  VoltageScaling)

Set the main internal Regulator output voltage.

Reference Manual to LL API cross reference:
D3CR VOS LL_PWR_SetRegulVoltageScaling
Parameters:
VoltageScalingThis parameter can be one of the following values:
Note:
For all H7 lines except STM32H7Axxx and STM32H7Bxxx lines, VOS0 is applied when PWR_D3CR_VOS[1:0] = 0b11 and SYSCFG_PWRCR_ODEN = 0b1.
Return values:
None

Definition at line 1575 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetStopModeRegulVoltageScaling ( uint32_t  VoltageScaling)

Set the internal Regulator output voltage in STOP mode.

Reference Manual to LL API cross reference:
CR1 SVOS LL_PWR_SetStopModeRegulVoltageScaling
Parameters:
VoltageScalingThis parameter can be one of the following values:
Return values:
None

Definition at line 578 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh ( uint32_t  WakeUpPin)

Set the Wake-Up pin polarity high for the event detection.

Reference Manual to LL API cross reference:
WKUPEPR WKUPP1 LL_PWR_SetWakeUpPinPolarityHigh
WKUPEPR WKUPP2 LL_PWR_SetWakeUpPinPolarityHigh
WKUPEPR WKUPP3 LL_PWR_SetWakeUpPinPolarityHigh
WKUPEPR WKUPP4 LL_PWR_SetWakeUpPinPolarityHigh
WKUPEPR WKUPP5 LL_PWR_SetWakeUpPinPolarityHigh
WKUPEPR WKUPP6 LL_PWR_SetWakeUpPinPolarityHigh
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1724 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow ( uint32_t  WakeUpPin)

Set the Wake-Up pin polarity low for the event detection.

Reference Manual to LL API cross reference:
WKUPEPR WKUPP1 LL_PWR_SetWakeUpPinPolarityLow
WKUPEPR WKUPP2 LL_PWR_SetWakeUpPinPolarityLow
WKUPEPR WKUPP3 LL_PWR_SetWakeUpPinPolarityLow
WKUPEPR WKUPP4 LL_PWR_SetWakeUpPinPolarityLow
WKUPEPR WKUPP5 LL_PWR_SetWakeUpPinPolarityLow
WKUPEPR WKUPP6 LL_PWR_SetWakeUpPinPolarityLow
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1699 of file stm32h7xx_ll_pwr.h.

__STATIC_INLINE void LL_PWR_SetWakeUpPinPullDown ( uint32_t  WakeUpPin)

Set the Wake-Up pin Pull Down.

Reference Manual to LL API cross reference:
WKUPEPR WKUPPUPD1 LL_PWR_SetWakeUpPinPullDown
WKUPEPR WKUPPUPD2 LL_PWR_SetWakeUpPinPullDown
WKUPEPR WKUPPUPD3 LL_PWR_SetWakeUpPinPullDown
WKUPEPR WKUPPUPD4 LL_PWR_SetWakeUpPinPullDown
WKUPEPR WKUPPUPD5 LL_PWR_SetWakeUpPinPullDown
WKUPEPR WKUPPUPD6 LL_PWR_SetWakeUpPinPullDown
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1828 of file stm32h7xx_ll_pwr.h.

References LL_PWR_WAKEUP_PIN_PULLDOWN, LL_PWR_WAKEUP_PINS_MAX_SHIFT_MASK, and LL_PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET.

__STATIC_INLINE void LL_PWR_SetWakeUpPinPullNone ( uint32_t  WakeUpPin)

Set the Wake-Up pin Pull None.

Reference Manual to LL API cross reference:
WKUPEPR WKUPPUPD1 LL_PWR_SetWakeUpPinPullNone
WKUPEPR WKUPPUPD2 LL_PWR_SetWakeUpPinPullNone
WKUPEPR WKUPPUPD3 LL_PWR_SetWakeUpPinPullNone
WKUPEPR WKUPPUPD4 LL_PWR_SetWakeUpPinPullNone
WKUPEPR WKUPPUPD5 LL_PWR_SetWakeUpPinPullNone
WKUPEPR WKUPPUPD6 LL_PWR_SetWakeUpPinPullNone
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1774 of file stm32h7xx_ll_pwr.h.

References LL_PWR_WAKEUP_PIN_NOPULL, LL_PWR_WAKEUP_PINS_MAX_SHIFT_MASK, and LL_PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET.

__STATIC_INLINE void LL_PWR_SetWakeUpPinPullUp ( uint32_t  WakeUpPin)

Set the Wake-Up pin Pull Up.

Reference Manual to LL API cross reference:
WKUPEPR WKUPPUPD1 LL_PWR_SetWakeUpPinPullUp
WKUPEPR WKUPPUPD2 LL_PWR_SetWakeUpPinPullUp
WKUPEPR WKUPPUPD3 LL_PWR_SetWakeUpPinPullUp
WKUPEPR WKUPPUPD4 LL_PWR_SetWakeUpPinPullUp
WKUPEPR WKUPPUPD5 LL_PWR_SetWakeUpPinPullUp
WKUPEPR WKUPPUPD6 LL_PWR_SetWakeUpPinPullUp
Parameters:
WakeUpPinThis parameter can be one of the following values: (*) value not defined in all devices.
Return values:
None

Definition at line 1801 of file stm32h7xx_ll_pwr.h.

References LL_PWR_WAKEUP_PIN_PULLUP, LL_PWR_WAKEUP_PINS_MAX_SHIFT_MASK, and LL_PWR_WAKEUP_PINS_PULL_SHIFT_OFFSET.