|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_PWR_EnableLowPowerRunMode (void) |
| Switch the regulator from main mode to low-power mode CR1 LPR LL_PWR_EnableLowPowerRunMode. More... | |
| __STATIC_INLINE void | LL_PWR_DisableLowPowerRunMode (void) |
| Switch the regulator from low-power mode to main mode CR1 LPR LL_PWR_DisableLowPowerRunMode. More... | |
| __STATIC_INLINE void | LL_PWR_EnterLowPowerRunMode (void) |
| Switch from run main mode to run low-power mode. CR1 LPR LL_PWR_EnterLowPowerRunMode. More... | |
| __STATIC_INLINE void | LL_PWR_ExitLowPowerRunMode (void) |
| Switch from run main mode to low-power mode. CR1 LPR LL_PWR_ExitLowPowerRunMode. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledLowPowerRunMode (void) |
| Check if the regulator is in low-power mode CR1 LPR LL_PWR_IsEnabledLowPowerRunMode. More... | |
| __STATIC_INLINE void | LL_PWR_SetRegulVoltageScaling (uint32_t VoltageScaling) |
| Set the main internal regulator output voltage. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_GetRegulVoltageScaling (void) |
| Get the main internal regulator output voltage CR1 VOS LL_PWR_GetRegulVoltageScaling. More... | |
| __STATIC_INLINE void | LL_PWR_EnableRange1BoostMode (void) |
| Enable main regulator voltage range 1 boost mode CR5 R1MODE LL_PWR_EnableRange1BoostMode. More... | |
| __STATIC_INLINE void | LL_PWR_DisableRange1BoostMode (void) |
| Disable main regulator voltage range 1 boost mode CR5 R1MODE LL_PWR_DisableRange1BoostMode. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledRange1BoostMode (void) |
| Check if the main regulator voltage range 1 boost mode is enabled CR5 R1MODE LL_PWR_IsEnabledRange1BoostMode. More... | |
| __STATIC_INLINE void | LL_PWR_EnableBkUpAccess (void) |
| Enable access to the backup domain CR1 DBP LL_PWR_EnableBkUpAccess. More... | |
| __STATIC_INLINE void | LL_PWR_DisableBkUpAccess (void) |
| Disable access to the backup domain CR1 DBP LL_PWR_DisableBkUpAccess. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledBkUpAccess (void) |
| Check if the backup domain is enabled CR1 DBP LL_PWR_IsEnabledBkUpAccess. More... | |
| __STATIC_INLINE void | LL_PWR_SetPowerMode (uint32_t LowPowerMode) |
| Set Low-Power mode CR1 LPMS LL_PWR_SetPowerMode. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_GetPowerMode (void) |
| Get Low-Power mode CR1 LPMS LL_PWR_GetPowerMode. More... | |
| __STATIC_INLINE void | LL_PWR_EnableSRAM3Retention (void) |
| Enable SRAM3 content retention in Stop mode CR1 RRSTP LL_PWR_EnableSRAM3Retention. More... | |
| __STATIC_INLINE void | LL_PWR_DisableSRAM3Retention (void) |
| Disable SRAM3 content retention in Stop mode CR1 RRSTP LL_PWR_DisableSRAM3Retention. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledSRAM3Retention (void) |
| Check if SRAM3 content retention in Stop mode is enabled CR1 RRSTP LL_PWR_IsEnabledSRAM3Retention. More... | |
| __STATIC_INLINE void | LL_PWR_EnableDSIPinsPDActivation (void) |
| Enable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_EnableDSIPinsPDActivation. More... | |
| __STATIC_INLINE void | LL_PWR_DisableDSIPinsPDActivation (void) |
| Disable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_DisableDSIPinsPDActivation. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledDSIPinsPDActivation (void) |
| Check if pull-down activation on DSI pins is enabled CR3 DSIPDEN LL_PWR_IsEnabledDSIPinsPDActivation. More... | |
| __STATIC_INLINE void | LL_PWR_EnableVddUSB (void) |
| Enable VDDUSB supply CR2 USV LL_PWR_EnableVddUSB. More... | |
| __STATIC_INLINE void | LL_PWR_DisableVddUSB (void) |
| Disable VDDUSB supply CR2 USV LL_PWR_DisableVddUSB. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledVddUSB (void) |
| Check if VDDUSB supply is enabled CR2 USV LL_PWR_IsEnabledVddUSB. More... | |
| __STATIC_INLINE void | LL_PWR_EnableVddIO2 (void) |
| Enable VDDIO2 supply CR2 IOSV LL_PWR_EnableVddIO2. More... | |
| __STATIC_INLINE void | LL_PWR_DisableVddIO2 (void) |
| Disable VDDIO2 supply CR2 IOSV LL_PWR_DisableVddIO2. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledVddIO2 (void) |
| Check if VDDIO2 supply is enabled CR2 IOSV LL_PWR_IsEnabledVddIO2. More... | |
| __STATIC_INLINE void | LL_PWR_EnablePVM (uint32_t PeriphVoltage) |
| Enable the Power Voltage Monitoring on a peripheral CR2 PVME1 LL_PWR_EnablePVM CR2 PVME2 LL_PWR_EnablePVM CR2 PVME3 LL_PWR_EnablePVM CR2 PVME4 LL_PWR_EnablePVM. More... | |
| __STATIC_INLINE void | LL_PWR_DisablePVM (uint32_t PeriphVoltage) |
| Disable the Power Voltage Monitoring on a peripheral CR2 PVME1 LL_PWR_DisablePVM CR2 PVME2 LL_PWR_DisablePVM CR2 PVME3 LL_PWR_DisablePVM CR2 PVME4 LL_PWR_DisablePVM. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledPVM (uint32_t PeriphVoltage) |
| Check if Power Voltage Monitoring is enabled on a peripheral CR2 PVME1 LL_PWR_IsEnabledPVM CR2 PVME2 LL_PWR_IsEnabledPVM CR2 PVME3 LL_PWR_IsEnabledPVM CR2 PVME4 LL_PWR_IsEnabledPVM. More... | |
| __STATIC_INLINE void | LL_PWR_SetPVDLevel (uint32_t PVDLevel) |
| Configure the voltage threshold detected by the Power Voltage Detector CR2 PLS LL_PWR_SetPVDLevel. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_GetPVDLevel (void) |
| Get the voltage threshold detection CR2 PLS LL_PWR_GetPVDLevel. More... | |
| __STATIC_INLINE void | LL_PWR_EnablePVD (void) |
| Enable Power Voltage Detector CR2 PVDE LL_PWR_EnablePVD. More... | |
| __STATIC_INLINE void | LL_PWR_DisablePVD (void) |
| Disable Power Voltage Detector CR2 PVDE LL_PWR_DisablePVD. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledPVD (void) |
| Check if Power Voltage Detector is enabled CR2 PVDE LL_PWR_IsEnabledPVD. More... | |
| __STATIC_INLINE void | LL_PWR_EnableInternWU (void) |
| Enable Internal Wake-up line CR3 EIWF LL_PWR_EnableInternWU. More... | |
| __STATIC_INLINE void | LL_PWR_DisableInternWU (void) |
| Disable Internal Wake-up line CR3 EIWF LL_PWR_DisableInternWU. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledInternWU (void) |
| Check if Internal Wake-up line is enabled CR3 EIWF LL_PWR_IsEnabledInternWU. More... | |
| __STATIC_INLINE void | LL_PWR_EnablePUPDCfg (void) |
| Enable pull-up and pull-down configuration CR3 APC LL_PWR_EnablePUPDCfg. More... | |
| __STATIC_INLINE void | LL_PWR_DisablePUPDCfg (void) |
| Disable pull-up and pull-down configuration CR3 APC LL_PWR_DisablePUPDCfg. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledPUPDCfg (void) |
| Check if pull-up and pull-down configuration is enabled CR3 APC LL_PWR_IsEnabledPUPDCfg. More... | |
| __STATIC_INLINE void | LL_PWR_EnableDSIPullDown (void) |
| Enable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_EnableDSIPullDown. More... | |
| __STATIC_INLINE void | LL_PWR_DisableDSIPullDown (void) |
| Disable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_DisableDSIPullDown. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledDSIPullDown (void) |
| Check if pull-down activation on DSI pins is enabled CR3 DSIPDEN LL_PWR_IsEnabledDSIPullDown. More... | |
| __STATIC_INLINE void | LL_PWR_EnableBORPVD_ULP (void) |
| Enable Ultra Low Power BORL, BORH and PVD for STOP2 and Standby modes CR3 ENULP LL_PWR_EnableBORPVD_ULP. More... | |
| __STATIC_INLINE void | LL_PWR_DisableBORPVD_ULP (void) |
| Disable Ultra Low Power BORL, BORH and PVD for STOP2 and Standby modes CR3 ENULP LL_PWR_DisableBORPVD_ULP. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledBORPVD_ULP (void) |
| Check if Ultra Low Power BORL, BORH and PVD for STOP2 and Standby modes is enabled CR3 ENULP LL_PWR_IsEnabledBORPVD_ULP. More... | |
| __STATIC_INLINE void | LL_PWR_EnableSRAM2Retention (void) |
| Enable SRAM2 content retention in Standby mode CR3 RRS LL_PWR_EnableSRAM2Retention. More... | |
| __STATIC_INLINE void | LL_PWR_DisableSRAM2Retention (void) |
| Disable SRAM2 content retention in Standby mode CR3 RRS LL_PWR_DisableSRAM2Retention. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledSRAM2Retention (void) |
| Check if SRAM2 content retention in Standby mode is enabled CR3 RRS LL_PWR_IsEnabledSRAM2Retention. More... | |
| __STATIC_INLINE void | LL_PWR_EnableWakeUpPin (uint32_t WakeUpPin) |
| Enable the WakeUp PINx functionality CR3 EWUP1 LL_PWR_EnableWakeUpPin CR3 EWUP2 LL_PWR_EnableWakeUpPin CR3 EWUP3 LL_PWR_EnableWakeUpPin CR3 EWUP4 LL_PWR_EnableWakeUpPin CR3 EWUP5 LL_PWR_EnableWakeUpPin . More... | |
| __STATIC_INLINE void | LL_PWR_DisableWakeUpPin (uint32_t WakeUpPin) |
| Disable the WakeUp PINx functionality CR3 EWUP1 LL_PWR_DisableWakeUpPin CR3 EWUP2 LL_PWR_DisableWakeUpPin CR3 EWUP3 LL_PWR_DisableWakeUpPin CR3 EWUP4 LL_PWR_DisableWakeUpPin CR3 EWUP5 LL_PWR_DisableWakeUpPin . More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledWakeUpPin (uint32_t WakeUpPin) |
| Check if the WakeUp PINx functionality is enabled CR3 EWUP1 LL_PWR_IsEnabledWakeUpPin CR3 EWUP2 LL_PWR_IsEnabledWakeUpPin CR3 EWUP3 LL_PWR_IsEnabledWakeUpPin CR3 EWUP4 LL_PWR_IsEnabledWakeUpPin CR3 EWUP5 LL_PWR_IsEnabledWakeUpPin . More... | |
| __STATIC_INLINE void | LL_PWR_EnableExtSMPS_0V95 (void) |
| Enable the CFLDO working @ 0.95V. More... | |
| __STATIC_INLINE void | LL_PWR_DisableExtSMPS_0V95 (void) |
| Disable the CFLDO working @ 0.95V. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledExtSMPS_0V95 (void) |
| Check if CFLDO is working @ 0.95V. More... | |
| __STATIC_INLINE void | LL_PWR_SetBattChargResistor (uint32_t Resistor) |
| Set the resistor impedance CR4 VBRS LL_PWR_SetBattChargResistor. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_GetBattChargResistor (void) |
| Get the resistor impedance CR4 VBRS LL_PWR_GetBattChargResistor. More... | |
| __STATIC_INLINE void | LL_PWR_EnableBatteryCharging (void) |
| Enable battery charging CR4 VBE LL_PWR_EnableBatteryCharging. More... | |
| __STATIC_INLINE void | LL_PWR_DisableBatteryCharging (void) |
| Disable battery charging CR4 VBE LL_PWR_DisableBatteryCharging. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledBatteryCharging (void) |
| Check if battery charging is enabled CR4 VBE LL_PWR_IsEnabledBatteryCharging. More... | |
| __STATIC_INLINE void | LL_PWR_SetWakeUpPinPolarityLow (uint32_t WakeUpPin) |
| Set the Wake-Up pin polarity low for the event detection CR4 WP1 LL_PWR_SetWakeUpPinPolarityLow CR4 WP2 LL_PWR_SetWakeUpPinPolarityLow CR4 WP3 LL_PWR_SetWakeUpPinPolarityLow CR4 WP4 LL_PWR_SetWakeUpPinPolarityLow CR4 WP5 LL_PWR_SetWakeUpPinPolarityLow. More... | |
| __STATIC_INLINE void | LL_PWR_SetWakeUpPinPolarityHigh (uint32_t WakeUpPin) |
| Set the Wake-Up pin polarity high for the event detection CR4 WP1 LL_PWR_SetWakeUpPinPolarityHigh CR4 WP2 LL_PWR_SetWakeUpPinPolarityHigh CR4 WP3 LL_PWR_SetWakeUpPinPolarityHigh CR4 WP4 LL_PWR_SetWakeUpPinPolarityHigh CR4 WP5 LL_PWR_SetWakeUpPinPolarityHigh. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsWakeUpPinPolarityLow (uint32_t WakeUpPin) |
| Get the Wake-Up pin polarity for the event detection CR4 WP1 LL_PWR_IsWakeUpPinPolarityLow CR4 WP2 LL_PWR_IsWakeUpPinPolarityLow CR4 WP3 LL_PWR_IsWakeUpPinPolarityLow CR4 WP4 LL_PWR_IsWakeUpPinPolarityLow CR4 WP5 LL_PWR_IsWakeUpPinPolarityLow. More... | |
| __STATIC_INLINE void | LL_PWR_EnableGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
| Enable GPIO pull-up state in Standby and Shutdown modes PUCRA PU0-15 LL_PWR_EnableGPIOPullUp PUCRB PU0-15 LL_PWR_EnableGPIOPullUp PUCRC PU0-15 LL_PWR_EnableGPIOPullUp PUCRD PU0-15 LL_PWR_EnableGPIOPullUp PUCRE PU0-15 LL_PWR_EnableGPIOPullUp PUCRF PU0-15 LL_PWR_EnableGPIOPullUp PUCRG PU0-15 LL_PWR_EnableGPIOPullUp PUCRH PU0-15 LL_PWR_EnableGPIOPullUp PUCRI PU0-11 LL_PWR_EnableGPIOPullUp. More... | |
| __STATIC_INLINE void | LL_PWR_DisableGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
| Disable GPIO pull-up state in Standby and Shutdown modes PUCRA PU0-15 LL_PWR_DisableGPIOPullUp PUCRB PU0-15 LL_PWR_DisableGPIOPullUp PUCRC PU0-15 LL_PWR_DisableGPIOPullUp PUCRD PU0-15 LL_PWR_DisableGPIOPullUp PUCRE PU0-15 LL_PWR_DisableGPIOPullUp PUCRF PU0-15 LL_PWR_DisableGPIOPullUp PUCRG PU0-15 LL_PWR_DisableGPIOPullUp PUCRH PU0-15 LL_PWR_DisableGPIOPullUp PUCRI PU0-11 LL_PWR_DisableGPIOPullUp. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledGPIOPullUp (uint32_t GPIO, uint32_t GPIONumber) |
| Check if GPIO pull-up state is enabled PUCRA PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRB PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRC PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRD PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRE PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRF PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRG PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRH PU0-15 LL_PWR_IsEnabledGPIOPullUp PUCRI PU0-11 LL_PWR_IsEnabledGPIOPullUp. More... | |
| __STATIC_INLINE void | LL_PWR_EnableGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
| Enable GPIO pull-down state in Standby and Shutdown modes PDCRA PD0-15 LL_PWR_EnableGPIOPullDown PDCRB PD0-15 LL_PWR_EnableGPIOPullDown PDCRC PD0-15 LL_PWR_EnableGPIOPullDown PDCRD PD0-15 LL_PWR_EnableGPIOPullDown PDCRE PD0-15 LL_PWR_EnableGPIOPullDown PDCRF PD0-15 LL_PWR_EnableGPIOPullDown PDCRG PD0-15 LL_PWR_EnableGPIOPullDown PDCRH PD0-15 LL_PWR_EnableGPIOPullDown PDCRI PD0-11 LL_PWR_EnableGPIOPullDown. More... | |
| __STATIC_INLINE void | LL_PWR_DisableGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
| Disable GPIO pull-down state in Standby and Shutdown modes PDCRA PD0-15 LL_PWR_DisableGPIOPullDown PDCRB PD0-15 LL_PWR_DisableGPIOPullDown PDCRC PD0-15 LL_PWR_DisableGPIOPullDown PDCRD PD0-15 LL_PWR_DisableGPIOPullDown PDCRE PD0-15 LL_PWR_DisableGPIOPullDown PDCRF PD0-15 LL_PWR_DisableGPIOPullDown PDCRG PD0-15 LL_PWR_DisableGPIOPullDown PDCRH PD0-15 LL_PWR_DisableGPIOPullDown PDCRI PD0-11 LL_PWR_DisableGPIOPullDown. More... | |
| __STATIC_INLINE uint32_t | LL_PWR_IsEnabledGPIOPullDown (uint32_t GPIO, uint32_t GPIONumber) |
| Check if GPIO pull-down state is enabled PDCRA PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRB PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRC PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRD PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRE PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRF PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRG PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRH PD0-15 LL_PWR_IsEnabledGPIOPullDown PDCRI PD0-11 LL_PWR_IsEnabledGPIOPullDown. More... | |
| __STATIC_INLINE void LL_PWR_DisableBatteryCharging | ( | void | ) |
Disable battery charging CR4 VBE LL_PWR_DisableBatteryCharging.
| None |
Definition at line 987 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableBkUpAccess | ( | void | ) |
Disable access to the backup domain CR1 DBP LL_PWR_DisableBkUpAccess.
| None |
Definition at line 394 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableBORPVD_ULP | ( | void | ) |
Disable Ultra Low Power BORL, BORH and PVD for STOP2 and Standby modes CR3 ENULP LL_PWR_DisableBORPVD_ULP.
| None |
Definition at line 803 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableDSIPinsPDActivation | ( | void | ) |
Disable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_DisableDSIPinsPDActivation.
| None |
Definition at line 488 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableDSIPullDown | ( | void | ) |
Disable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_DisableDSIPullDown.
| None |
Definition at line 771 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableExtSMPS_0V95 | ( | void | ) |
Disable the CFLDO working @ 0.95V.
| None |
Definition at line 929 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 PDCRA PD0-15 LL_PWR_DisableGPIOPullDown
PDCRB PD0-15 LL_PWR_DisableGPIOPullDown
PDCRC PD0-15 LL_PWR_DisableGPIOPullDown
PDCRD PD0-15 LL_PWR_DisableGPIOPullDown
PDCRE PD0-15 LL_PWR_DisableGPIOPullDown
PDCRF PD0-15 LL_PWR_DisableGPIOPullDown
PDCRG PD0-15 LL_PWR_DisableGPIOPullDown
PDCRH PD0-15 LL_PWR_DisableGPIOPullDown
PDCRI PD0-11 LL_PWR_DisableGPIOPullDown.
| GPIO | This parameter can be one of the following values:
|
| GPIONumber | This parameter can be one of the following values:
|
| None |
Definition at line 1292 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 PUCRA PU0-15 LL_PWR_DisableGPIOPullUp
PUCRB PU0-15 LL_PWR_DisableGPIOPullUp
PUCRC PU0-15 LL_PWR_DisableGPIOPullUp
PUCRD PU0-15 LL_PWR_DisableGPIOPullUp
PUCRE PU0-15 LL_PWR_DisableGPIOPullUp
PUCRF PU0-15 LL_PWR_DisableGPIOPullUp
PUCRG PU0-15 LL_PWR_DisableGPIOPullUp
PUCRH PU0-15 LL_PWR_DisableGPIOPullUp
PUCRI PU0-11 LL_PWR_DisableGPIOPullUp.
| GPIO | This parameter can be one of the following values:
|
| GPIONumber | This parameter can be one of the following values:
|
| None |
Definition at line 1151 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableInternWU | ( | void | ) |
Disable Internal Wake-up line CR3 EIWF LL_PWR_DisableInternWU.
| None |
Definition at line 710 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableLowPowerRunMode | ( | void | ) |
Switch the regulator from low-power mode to main mode CR1 LPR LL_PWR_DisableLowPowerRunMode.
| None |
Definition at line 286 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisablePUPDCfg | ( | void | ) |
Disable pull-up and pull-down configuration CR3 APC LL_PWR_DisablePUPDCfg.
| None |
Definition at line 740 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisablePVD | ( | void | ) |
Disable Power Voltage Detector CR2 PVDE LL_PWR_DisablePVD.
| None |
Definition at line 680 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisablePVM | ( | uint32_t | PeriphVoltage | ) |
Disable the Power Voltage Monitoring on a peripheral CR2 PVME1 LL_PWR_DisablePVM
CR2 PVME2 LL_PWR_DisablePVM
CR2 PVME3 LL_PWR_DisablePVM
CR2 PVME4 LL_PWR_DisablePVM.
| PeriphVoltage | This parameter can be one of the following values:
|
| None |
Definition at line 603 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableRange1BoostMode | ( | void | ) |
Disable main regulator voltage range 1 boost mode CR5 R1MODE LL_PWR_DisableRange1BoostMode.
| None |
Definition at line 363 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableSRAM2Retention | ( | void | ) |
Disable SRAM2 content retention in Standby mode CR3 RRS LL_PWR_DisableSRAM2Retention.
| None |
Definition at line 834 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableSRAM3Retention | ( | void | ) |
Disable SRAM3 content retention in Stop mode CR1 RRSTP LL_PWR_DisableSRAM3Retention.
| None |
Definition at line 456 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableVddIO2 | ( | void | ) |
Disable VDDIO2 supply CR2 IOSV LL_PWR_DisableVddIO2.
| None |
Definition at line 552 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableVddUSB | ( | void | ) |
Disable VDDUSB supply CR2 USV LL_PWR_DisableVddUSB.
| None |
Definition at line 520 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_DisableWakeUpPin | ( | uint32_t | WakeUpPin | ) |
Disable the WakeUp PINx functionality CR3 EWUP1 LL_PWR_DisableWakeUpPin
CR3 EWUP2 LL_PWR_DisableWakeUpPin
CR3 EWUP3 LL_PWR_DisableWakeUpPin
CR3 EWUP4 LL_PWR_DisableWakeUpPin
CR3 EWUP5 LL_PWR_DisableWakeUpPin
.
| WakeUpPin | This parameter can be one of the following values:
|
| None |
Definition at line 884 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableBatteryCharging | ( | void | ) |
Enable battery charging CR4 VBE LL_PWR_EnableBatteryCharging.
| None |
Definition at line 977 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableBkUpAccess | ( | void | ) |
Enable access to the backup domain CR1 DBP LL_PWR_EnableBkUpAccess.
| None |
Definition at line 384 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableBORPVD_ULP | ( | void | ) |
Enable Ultra Low Power BORL, BORH and PVD for STOP2 and Standby modes CR3 ENULP LL_PWR_EnableBORPVD_ULP.
| None |
Definition at line 793 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableDSIPinsPDActivation | ( | void | ) |
Enable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_EnableDSIPinsPDActivation.
| None |
Definition at line 478 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableDSIPullDown | ( | void | ) |
Enable pull-down activation on DSI pins CR3 DSIPDEN LL_PWR_EnableDSIPullDown.
| None |
Definition at line 761 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableExtSMPS_0V95 | ( | void | ) |
Enable the CFLDO working @ 0.95V.
| None |
Definition at line 917 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 PDCRA PD0-15 LL_PWR_EnableGPIOPullDown
PDCRB PD0-15 LL_PWR_EnableGPIOPullDown
PDCRC PD0-15 LL_PWR_EnableGPIOPullDown
PDCRD PD0-15 LL_PWR_EnableGPIOPullDown
PDCRE PD0-15 LL_PWR_EnableGPIOPullDown
PDCRF PD0-15 LL_PWR_EnableGPIOPullDown
PDCRG PD0-15 LL_PWR_EnableGPIOPullDown
PDCRH PD0-15 LL_PWR_EnableGPIOPullDown
PDCRI PD0-11 LL_PWR_EnableGPIOPullDown.
| GPIO | This parameter can be one of the following values:
|
| GPIONumber | This parameter can be one of the following values:
|
| None |
Definition at line 1245 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 PUCRA PU0-15 LL_PWR_EnableGPIOPullUp
PUCRB PU0-15 LL_PWR_EnableGPIOPullUp
PUCRC PU0-15 LL_PWR_EnableGPIOPullUp
PUCRD PU0-15 LL_PWR_EnableGPIOPullUp
PUCRE PU0-15 LL_PWR_EnableGPIOPullUp
PUCRF PU0-15 LL_PWR_EnableGPIOPullUp
PUCRG PU0-15 LL_PWR_EnableGPIOPullUp
PUCRH PU0-15 LL_PWR_EnableGPIOPullUp
PUCRI PU0-11 LL_PWR_EnableGPIOPullUp.
| GPIO | This parameter can be one of the following values:
|
| GPIONumber | This parameter can be one of the following values:
|
| None |
Definition at line 1104 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableInternWU | ( | void | ) |
Enable Internal Wake-up line CR3 EIWF LL_PWR_EnableInternWU.
| None |
Definition at line 700 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableLowPowerRunMode | ( | void | ) |
Switch the regulator from main mode to low-power mode CR1 LPR LL_PWR_EnableLowPowerRunMode.
| None |
Definition at line 276 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnablePUPDCfg | ( | void | ) |
Enable pull-up and pull-down configuration CR3 APC LL_PWR_EnablePUPDCfg.
| None |
Definition at line 730 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnablePVD | ( | void | ) |
Enable Power Voltage Detector CR2 PVDE LL_PWR_EnablePVD.
| None |
Definition at line 670 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnablePVM | ( | uint32_t | PeriphVoltage | ) |
Enable the Power Voltage Monitoring on a peripheral CR2 PVME1 LL_PWR_EnablePVM
CR2 PVME2 LL_PWR_EnablePVM
CR2 PVME3 LL_PWR_EnablePVM
CR2 PVME4 LL_PWR_EnablePVM.
| PeriphVoltage | This parameter can be one of the following values:
|
| None |
Definition at line 583 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableRange1BoostMode | ( | void | ) |
Enable main regulator voltage range 1 boost mode CR5 R1MODE LL_PWR_EnableRange1BoostMode.
| None |
Definition at line 353 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableSRAM2Retention | ( | void | ) |
Enable SRAM2 content retention in Standby mode CR3 RRS LL_PWR_EnableSRAM2Retention.
| None |
Definition at line 824 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableSRAM3Retention | ( | void | ) |
Enable SRAM3 content retention in Stop mode CR1 RRSTP LL_PWR_EnableSRAM3Retention.
| None |
Definition at line 446 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableVddIO2 | ( | void | ) |
Enable VDDIO2 supply CR2 IOSV LL_PWR_EnableVddIO2.
| None |
Definition at line 542 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableVddUSB | ( | void | ) |
Enable VDDUSB supply CR2 USV LL_PWR_EnableVddUSB.
| None |
Definition at line 510 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnableWakeUpPin | ( | uint32_t | WakeUpPin | ) |
Enable the WakeUp PINx functionality CR3 EWUP1 LL_PWR_EnableWakeUpPin
CR3 EWUP2 LL_PWR_EnableWakeUpPin
CR3 EWUP3 LL_PWR_EnableWakeUpPin
CR3 EWUP4 LL_PWR_EnableWakeUpPin
CR3 EWUP5 LL_PWR_EnableWakeUpPin
.
| WakeUpPin | This parameter can be one of the following values:
|
| None |
Definition at line 864 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_EnterLowPowerRunMode | ( | void | ) |
Switch from run main mode to run low-power mode. CR1 LPR LL_PWR_EnterLowPowerRunMode.
| None |
Definition at line 296 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_ExitLowPowerRunMode | ( | void | ) |
Switch from run main mode to low-power mode. CR1 LPR LL_PWR_ExitLowPowerRunMode.
| None |
Definition at line 306 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_GetBattChargResistor | ( | void | ) |
Get the resistor impedance CR4 VBRS LL_PWR_GetBattChargResistor.
| Returned | value can be one of the following values:
|
Definition at line 967 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_GetPowerMode | ( | void | ) |
Get Low-Power mode CR1 LPMS LL_PWR_GetPowerMode.
| Returned | value can be one of the following values:
|
Definition at line 435 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_GetPVDLevel | ( | void | ) |
Get the voltage threshold detection CR2 PLS LL_PWR_GetPVDLevel.
| Returned | value can be one of the following values:
|
Definition at line 660 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling | ( | void | ) |
Get the main internal regulator output voltage CR1 VOS LL_PWR_GetRegulVoltageScaling.
| Returned | value can be one of the following values:
|
Definition at line 342 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledBatteryCharging | ( | void | ) |
Check if battery charging is enabled CR4 VBE LL_PWR_IsEnabledBatteryCharging.
| State | of bit (1 or 0). |
Definition at line 997 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledBkUpAccess | ( | void | ) |
Check if the backup domain is enabled CR1 DBP LL_PWR_IsEnabledBkUpAccess.
| State | of bit (1 or 0). |
Definition at line 404 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledBORPVD_ULP | ( | void | ) |
Check if Ultra Low Power BORL, BORH and PVD for STOP2 and Standby modes is enabled CR3 ENULP LL_PWR_IsEnabledBORPVD_ULP.
| State | of bit (1 or 0). |
Definition at line 813 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledDSIPinsPDActivation | ( | void | ) |
Check if pull-down activation on DSI pins is enabled CR3 DSIPDEN LL_PWR_IsEnabledDSIPinsPDActivation.
| State | of bit (1 or 0). |
Definition at line 498 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledDSIPullDown | ( | void | ) |
Check if pull-down activation on DSI pins is enabled CR3 DSIPDEN LL_PWR_IsEnabledDSIPullDown.
| State | of bit (1 or 0). |
Definition at line 781 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledExtSMPS_0V95 | ( | void | ) |
Check if CFLDO is working @ 0.95V.
| State | of bit (1 or 0). |
Definition at line 941 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 PDCRA PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRB PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRC PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRD PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRE PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRF PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRG PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRH PD0-15 LL_PWR_IsEnabledGPIOPullDown
PDCRI PD0-11 LL_PWR_IsEnabledGPIOPullDown.
| 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 1339 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 PUCRA PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRB PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRC PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRD PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRE PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRF PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRG PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRH PU0-15 LL_PWR_IsEnabledGPIOPullUp
PUCRI PU0-11 LL_PWR_IsEnabledGPIOPullUp.
| 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 1198 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledInternWU | ( | void | ) |
Check if Internal Wake-up line is enabled CR3 EIWF LL_PWR_IsEnabledInternWU.
| State | of bit (1 or 0). |
Definition at line 720 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRunMode | ( | void | ) |
Check if the regulator is in low-power mode CR1 LPR LL_PWR_IsEnabledLowPowerRunMode.
| State | of bit (1 or 0). |
Definition at line 316 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledPUPDCfg | ( | void | ) |
Check if pull-up and pull-down configuration is enabled CR3 APC LL_PWR_IsEnabledPUPDCfg.
| State | of bit (1 or 0). |
Definition at line 750 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledPVD | ( | void | ) |
Check if Power Voltage Detector is enabled CR2 PVDE LL_PWR_IsEnabledPVD.
| State | of bit (1 or 0). |
Definition at line 690 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 CR2 PVME1 LL_PWR_IsEnabledPVM
CR2 PVME2 LL_PWR_IsEnabledPVM
CR2 PVME3 LL_PWR_IsEnabledPVM
CR2 PVME4 LL_PWR_IsEnabledPVM.
| PeriphVoltage | This parameter can be one of the following values:
|
| State | of bit (1 or 0). |
Definition at line 623 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledRange1BoostMode | ( | void | ) |
Check if the main regulator voltage range 1 boost mode is enabled CR5 R1MODE LL_PWR_IsEnabledRange1BoostMode.
| Inverted | state of bit (0 or 1). |
Definition at line 373 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledSRAM2Retention | ( | void | ) |
Check if SRAM2 content retention in Standby mode is enabled CR3 RRS LL_PWR_IsEnabledSRAM2Retention.
| State | of bit (1 or 0). |
Definition at line 844 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledSRAM3Retention | ( | void | ) |
Check if SRAM3 content retention in Stop mode is enabled CR1 RRSTP LL_PWR_IsEnabledSRAM3Retention.
| State | of bit (1 or 0). |
Definition at line 466 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledVddIO2 | ( | void | ) |
Check if VDDIO2 supply is enabled CR2 IOSV LL_PWR_IsEnabledVddIO2.
| State | of bit (1 or 0). |
Definition at line 562 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledVddUSB | ( | void | ) |
Check if VDDUSB supply is enabled CR2 USV LL_PWR_IsEnabledVddUSB.
| State | of bit (1 or 0). |
Definition at line 530 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE uint32_t LL_PWR_IsEnabledWakeUpPin | ( | uint32_t | WakeUpPin | ) |
Check if the WakeUp PINx functionality is enabled CR3 EWUP1 LL_PWR_IsEnabledWakeUpPin
CR3 EWUP2 LL_PWR_IsEnabledWakeUpPin
CR3 EWUP3 LL_PWR_IsEnabledWakeUpPin
CR3 EWUP4 LL_PWR_IsEnabledWakeUpPin
CR3 EWUP5 LL_PWR_IsEnabledWakeUpPin
.
| WakeUpPin | This parameter can be one of the following values:
|
| State | of bit (1 or 0). |
Definition at line 904 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 CR4 WP1 LL_PWR_IsWakeUpPinPolarityLow
CR4 WP2 LL_PWR_IsWakeUpPinPolarityLow
CR4 WP3 LL_PWR_IsWakeUpPinPolarityLow
CR4 WP4 LL_PWR_IsWakeUpPinPolarityLow
CR4 WP5 LL_PWR_IsWakeUpPinPolarityLow.
| WakeUpPin | This parameter can be one of the following values:
|
| State | of bit (1 or 0). |
Definition at line 1057 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_SetBattChargResistor | ( | uint32_t | Resistor | ) |
Set the resistor impedance CR4 VBRS LL_PWR_SetBattChargResistor.
| Resistor | This parameter can be one of the following values:
|
| None |
Definition at line 955 of file stm32l4xx_ll_pwr.h.
| __STATIC_INLINE void LL_PWR_SetPowerMode | ( | uint32_t | LowPowerMode | ) |
Set Low-Power mode CR1 LPMS LL_PWR_SetPowerMode.
| LowPowerMode | This parameter can be one of the following values:
|
| None |
Definition at line 420 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 CR2 PLS LL_PWR_SetPVDLevel.
| PVDLevel | This parameter can be one of the following values:
|
| None |
Definition at line 642 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 330 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 CR4 WP1 LL_PWR_SetWakeUpPinPolarityHigh
CR4 WP2 LL_PWR_SetWakeUpPinPolarityHigh
CR4 WP3 LL_PWR_SetWakeUpPinPolarityHigh
CR4 WP4 LL_PWR_SetWakeUpPinPolarityHigh
CR4 WP5 LL_PWR_SetWakeUpPinPolarityHigh.
| WakeUpPin | This parameter can be one of the following values:
|
| None |
Definition at line 1037 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 CR4 WP1 LL_PWR_SetWakeUpPinPolarityLow
CR4 WP2 LL_PWR_SetWakeUpPinPolarityLow
CR4 WP3 LL_PWR_SetWakeUpPinPolarityLow
CR4 WP4 LL_PWR_SetWakeUpPinPolarityLow
CR4 WP5 LL_PWR_SetWakeUpPinPolarityLow.
| WakeUpPin | This parameter can be one of the following values:
|
| None |
Definition at line 1017 of file stm32l4xx_ll_pwr.h.