STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_PWR_EnableLowPowerRunMode (void) |
Switch the regulator from main mode to low-power mode. | |
__STATIC_INLINE void | LL_PWR_DisableLowPowerRunMode (void) |
Switch the regulator from low-power mode to main mode. | |
__STATIC_INLINE void | LL_PWR_EnterLowPowerRunMode (void) |
Switch from run main mode to run low-power mode. | |
__STATIC_INLINE void | LL_PWR_ExitLowPowerRunMode (void) |
Switch from run main mode to low-power mode. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledLowPowerRunMode (void) |
Check if the regulator is in 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_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_SetPowerMode (uint32_t LowPowerMode) |
Set Low-Power mode. | |
__STATIC_INLINE uint32_t | LL_PWR_GetPowerMode (void) |
Get Low-Power mode. | |
__STATIC_INLINE void | LL_PWR_EnableVddUSB (void) |
Enable VDDUSB supply. | |
__STATIC_INLINE void | LL_PWR_DisableVddUSB (void) |
Disable VDDUSB supply. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledVddUSB (void) |
Check if VDDUSB supply is enabled. | |
__STATIC_INLINE void | LL_PWR_EnablePVM (uint32_t PeriphVoltage) |
Enable the Power Voltage Monitoring on a peripheral. | |
__STATIC_INLINE void | LL_PWR_DisablePVM (uint32_t PeriphVoltage) |
Disable the Power Voltage Monitoring on a peripheral. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledPVM (uint32_t PeriphVoltage) |
Check if Power Voltage Monitoring is enabled on a peripheral. | |
__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_EnableInternWU (void) |
Enable Internal Wake-up line. | |
__STATIC_INLINE void | LL_PWR_DisableInternWU (void) |
Disable Internal Wake-up line. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledInternWU (void) |
Check if Internal Wake-up line is enabled. | |
__STATIC_INLINE void | LL_PWR_EnablePUPDCfg (void) |
Enable pull-up and pull-down configuration. | |
__STATIC_INLINE void | LL_PWR_DisablePUPDCfg (void) |
Disable pull-up and pull-down configuration. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledPUPDCfg (void) |
Check if pull-up and pull-down configuration is enabled. | |
__STATIC_INLINE void | LL_PWR_EnableSRAM2Retention (void) |
Enable SRAM2 full content retention in Standby mode. | |
__STATIC_INLINE void | LL_PWR_DisableSRAM2Retention (void) |
Disable SRAM2 content retention in Standby mode. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledSRAM2Retention (void) |
Check if SRAM2 full content retention in Standby mode is enabled. | |
__STATIC_INLINE void | LL_PWR_SetSRAM2ContentRetention (uint32_t SRAM2Size) |
Set SRAM2 content retention in Standby mode. | |
__STATIC_INLINE uint32_t | LL_PWR_GetSRAM2ContentRetention (void) |
Get SRAM2 content retention in Standby mode. | |
__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_SetBattChargResistor (uint32_t Resistor) |
Set the resistor impedance. | |
__STATIC_INLINE uint32_t | LL_PWR_GetBattChargResistor (void) |
Get the resistor impedance. | |
__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_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_EnableGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
Enable GPIO pull-up state in Standby and Shutdown modes. | |
__STATIC_INLINE void | LL_PWR_DisableGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
Disable GPIO pull-up state in Standby and Shutdown modes. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
Check if GPIO pull-up state is enabled. | |
__STATIC_INLINE void | LL_PWR_EnableGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
Enable GPIO pull-down state in Standby and Shutdown modes. | |
__STATIC_INLINE void | LL_PWR_DisableGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
Disable GPIO pull-down state in Standby and Shutdown modes. | |
__STATIC_INLINE uint32_t | LL_PWR_IsEnabledGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
Check if GPIO pull-down state is enabled. |
__STATIC_INLINE void LL_PWR_DisableBatteryCharging | ( | void | ) |
Disable battery charging.
None |
Definition at line 1031 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableBkUpAccess | ( | void | ) |
Disable access to the backup domain.
None |
Definition at line 407 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableGPIOPullDown | ( | uint32_t | GPIO, |
uint32_t | GPIONumber | ||
) |
Disable GPIO pull-down state in Standby and Shutdown modes.
GPIO | This parameter can be one of the following values:
|
GPIONumber | This parameter can be one of the following values: |
None |
Definition at line 1336 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableGPIOPullUp | ( | uint32_t | GPIO, |
uint32_t | GPIONumber | ||
) |
Disable GPIO pull-up state in Standby and Shutdown modes.
GPIO | This parameter can be one of the following values:
|
GPIONumber | This parameter can be one of the following values: |
None |
Definition at line 1195 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableInternWU | ( | void | ) |
Disable Internal Wake-up line.
None |
Definition at line 723 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableLowPowerRunMode | ( | void | ) |
Switch the regulator from low-power mode to main mode.
None |
Definition at line 299 of file stm32l4xx_ll_pwr.h.
Referenced by LL_PWR_ExitLowPowerRunMode().
__STATIC_INLINE void LL_PWR_DisablePUPDCfg | ( | void | ) |
Disable pull-up and pull-down configuration.
None |
Definition at line 753 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisablePVD | ( | void | ) |
Disable Power Voltage Detector.
None |
Definition at line 693 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisablePVM | ( | uint32_t | PeriphVoltage | ) |
Disable the Power Voltage Monitoring on a peripheral.
PeriphVoltage | This parameter can be one of the following values:
|
None |
Definition at line 616 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableSRAM2Retention | ( | void | ) |
Disable SRAM2 content retention in Standby mode.
None |
Definition at line 847 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableVddUSB | ( | void | ) |
Disable VDDUSB supply.
None |
Definition at line 533 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_DisableWakeUpPin | ( | uint32_t | WakeUpPin | ) |
Disable the WakeUp PINx functionality.
WakeUpPin | This parameter can be one of the following values: |
None |
Definition at line 928 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableBatteryCharging | ( | void | ) |
Enable battery charging.
None |
Definition at line 1021 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableBkUpAccess | ( | void | ) |
Enable access to the backup domain.
None |
Definition at line 397 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableGPIOPullDown | ( | uint32_t | GPIO, |
uint32_t | GPIONumber | ||
) |
Enable GPIO pull-down state in Standby and Shutdown modes.
GPIO | This parameter can be one of the following values:
|
GPIONumber | This parameter can be one of the following values: |
None |
Definition at line 1289 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableGPIOPullUp | ( | uint32_t | GPIO, |
uint32_t | GPIONumber | ||
) |
Enable GPIO pull-up state in Standby and Shutdown modes.
GPIO | This parameter can be one of the following values:
|
GPIONumber | This parameter can be one of the following values: |
None |
Definition at line 1148 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableInternWU | ( | void | ) |
Enable Internal Wake-up line.
None |
Definition at line 713 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableLowPowerRunMode | ( | void | ) |
Switch the regulator from main mode to low-power mode.
None |
Definition at line 289 of file stm32l4xx_ll_pwr.h.
Referenced by LL_PWR_EnterLowPowerRunMode().
__STATIC_INLINE void LL_PWR_EnablePUPDCfg | ( | void | ) |
Enable pull-up and pull-down configuration.
None |
Definition at line 743 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnablePVD | ( | void | ) |
Enable Power Voltage Detector.
None |
Definition at line 683 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnablePVM | ( | uint32_t | PeriphVoltage | ) |
Enable the Power Voltage Monitoring on a peripheral.
PeriphVoltage | This parameter can be one of the following values:
|
None |
Definition at line 596 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableSRAM2Retention | ( | void | ) |
Enable SRAM2 full content retention in Standby mode.
None |
Definition at line 837 of file stm32l4xx_ll_pwr.h.
References LL_PWR_FULL_SRAM2_RETENTION.
__STATIC_INLINE void LL_PWR_EnableVddUSB | ( | void | ) |
Enable VDDUSB supply.
None |
Definition at line 523 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnableWakeUpPin | ( | uint32_t | WakeUpPin | ) |
Enable the WakeUp PINx functionality.
WakeUpPin | This parameter can be one of the following values: |
None |
Definition at line 908 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_EnterLowPowerRunMode | ( | void | ) |
Switch from run main mode to run low-power mode.
None |
Definition at line 309 of file stm32l4xx_ll_pwr.h.
References LL_PWR_EnableLowPowerRunMode().
__STATIC_INLINE void LL_PWR_ExitLowPowerRunMode | ( | void | ) |
Switch from run main mode to low-power mode.
None |
Definition at line 319 of file stm32l4xx_ll_pwr.h.
References LL_PWR_DisableLowPowerRunMode().
__STATIC_INLINE uint32_t LL_PWR_GetBattChargResistor | ( | void | ) |
Get the resistor impedance.
Returned | value can be one of the following values: |
Definition at line 1011 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_GetPowerMode | ( | void | ) |
Get Low-Power mode.
Returned | value can be one of the following values: |
Definition at line 448 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_GetPVDLevel | ( | void | ) |
Get the voltage threshold detection.
Returned | value can be one of the following values: |
Definition at line 673 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling | ( | void | ) |
Get the main internal regulator output voltage.
Returned | value can be one of the following values: |
Definition at line 355 of file stm32l4xx_ll_pwr.h.
Referenced by LL_SetFlashLatency().
__STATIC_INLINE uint32_t LL_PWR_GetSRAM2ContentRetention | ( | void | ) |
Get SRAM2 content retention in Standby mode.
Returned | value can be one of the following values:
|
Definition at line 888 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBatteryCharging | ( | void | ) |
Check if battery charging is enabled.
State | of bit (1 or 0). |
Definition at line 1041 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpAccess | ( | void | ) |
Check if the backup domain is enabled.
State | of bit (1 or 0). |
Definition at line 417 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledGPIOPullDown | ( | uint32_t | GPIO, |
uint32_t | GPIONumber | ||
) |
Check if GPIO pull-down state is enabled.
GPIO | This parameter can be one of the following values:
|
GPIONumber | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 1383 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledGPIOPullUp | ( | uint32_t | GPIO, |
uint32_t | GPIONumber | ||
) |
Check if GPIO pull-up state is enabled.
GPIO | This parameter can be one of the following values:
|
GPIONumber | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 1242 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledInternWU | ( | void | ) |
Check if Internal Wake-up line is enabled.
State | of bit (1 or 0). |
Definition at line 733 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRunMode | ( | void | ) |
Check if the regulator is in low-power mode.
State | of bit (1 or 0). |
Definition at line 329 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledPUPDCfg | ( | void | ) |
Check if pull-up and pull-down configuration is enabled.
State | of bit (1 or 0). |
Definition at line 763 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledPVD | ( | void | ) |
Check if Power Voltage Detector is enabled.
State | of bit (1 or 0). |
Definition at line 703 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledPVM | ( | uint32_t | PeriphVoltage | ) |
Check if Power Voltage Monitoring is enabled on a peripheral.
PeriphVoltage | This parameter can be one of the following values:
|
State | of bit (1 or 0). |
Definition at line 636 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledSRAM2Retention | ( | void | ) |
Check if SRAM2 full content retention in Standby mode is enabled.
State | of bit (1 or 0). |
Definition at line 857 of file stm32l4xx_ll_pwr.h.
References LL_PWR_FULL_SRAM2_RETENTION.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledVddUSB | ( | void | ) |
Check if VDDUSB supply is enabled.
State | of bit (1 or 0). |
Definition at line 543 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin | ( | uint32_t | WakeUpPin | ) |
Check if the WakeUp PINx functionality is enabled.
WakeUpPin | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 948 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE uint32_t LL_PWR_IsWakeUpPinPolarityLow | ( | uint32_t | WakeUpPin | ) |
Get the Wake-Up pin polarity for the event detection.
WakeUpPin | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 1101 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetBattChargResistor | ( | uint32_t | Resistor | ) |
Set the resistor impedance.
Resistor | This parameter can be one of the following values: |
None |
Definition at line 999 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetPowerMode | ( | uint32_t | LowPowerMode | ) |
Set Low-Power mode.
LowPowerMode | This parameter can be one of the following values: |
None |
Definition at line 433 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetPVDLevel | ( | uint32_t | PVDLevel | ) |
Configure the voltage threshold detected by the Power Voltage Detector.
PVDLevel | This parameter can be one of the following values: |
None |
Definition at line 655 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetRegulVoltageScaling | ( | uint32_t | VoltageScaling | ) |
Set the main internal regulator output voltage.
VoltageScaling | This parameter can be one of the following values: |
None |
Definition at line 343 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetSRAM2ContentRetention | ( | uint32_t | SRAM2Size | ) |
Set SRAM2 content retention in Standby mode.
SRAM2Size | This parameter can be one of the following values:
|
None |
Definition at line 874 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityHigh | ( | uint32_t | WakeUpPin | ) |
Set the Wake-Up pin polarity high for the event detection.
WakeUpPin | This parameter can be one of the following values: |
None |
Definition at line 1081 of file stm32l4xx_ll_pwr.h.
__STATIC_INLINE void LL_PWR_SetWakeUpPinPolarityLow | ( | uint32_t | WakeUpPin | ) |
Set the Wake-Up pin polarity low for the event detection.
WakeUpPin | This parameter can be one of the following values: |
None |
Definition at line 1061 of file stm32l4xx_ll_pwr.h.