LL PWR APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.

LL PWR constants

HAL1

HAL2

LL_PWR_REGU_VOLTAGE_SCALE3

LL_PWR_REGU_VOLT_SCALE_3

LL_PWR_REGU_VOLTAGE_SCALE4

LL_PWR_REGU_VOLT_SCALE_4

LL_PWR_REGU_VOLTAGE_SCALE0

LL_PWR_REGU_VOLT_SCALE_0

LL_PWR_SMPS_SUPPLY

LL_PWR_MAIN_REGU_SMPS_SUPPLY

LL_PWR_REGU_VOLTAGE_SVOS_SCALE3

Not implemented yet in HAL2.

LL_PWR_REGU_VOLTAGE_SVOS_SCALE4

Not implemented yet in HAL2.

LL_PWR_REGU_VOLTAGE_SVOS_SCALE5

Not implemented yet in HAL2.

LL_PWR_WAKEUP_PIN_PULLDOWN

LL_PWR_WAKEUP_PIN_PULL_DOWN

LL_PWR_WAKEUP_PIN_PULLUP

LL_PWR_WAKEUP_PIN_PULL_UP

LL_PWR_SCR_CWUF

LL_PWR_SCR_CWUF_ALL

LL_PWR_CR_CSBF

LL_PWR_SCR_CSBF

LL_PWR_CR_CWUF

LL_PWR_SCR_CWUF_ALL

LL_PWR_CSR_EWUP1

Not implemented yet in HAL2.

LL_PWR_CSR_EWUP2

Not implemented yet in HAL2.

LL_PWR_CSR_EWUP3

Not implemented yet in HAL2.

LL_PWR_CSR_PVDO

LL_PWR_CSR_PVDO

LL_PWR_CSR_SBF

Not implemented yet in HAL2.

LL_PWR_CSR_VOS

Not implemented yet in HAL2.

LL_PWR_CSR_WUF

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_LPREGU

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_LPREGU_DEEPSLEEP

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_LPREGU_UNDERDRIVE

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_MAINREGU

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_MAINREGU_DEEPSLEEP

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_MAINREGU_UNDERDRIVE

Not implemented yet in HAL2.

LL_PWR_REGU_DSMODE_LOW_POWER

Not implemented yet in HAL2.

LL_PWR_REGU_DSMODE_MAIN

Not implemented yet in HAL2.

LL_PWR_BATTCHARG_RESISTOR_1_5K

LL_PWR_BATTCHARG_RESISTOR_5K

LL_PWR_BATTCHARG_RESISTOR_5K

LL_PWR_BATT_CHARG_RESISTOR_5K

LL_PWR_PVDHLEVEL_0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_1

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_2

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_3

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_4

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_5

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_6

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_7

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_1

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_2

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_3

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_4

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_5

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_6

Not implemented yet in HAL2.

LL_PWR_GPIO_G

Not implemented yet in HAL2.

LL_PWR_PVM_VDDA_ADC

LL_PWR_PVM_VDDA_1_62V

LL_PWR_PVM_VDDA_COMP

LL_PWR_PVM_VDDUSB_1_2V

LL_PWR_PVM_VDDA_FASTDAC

Not implemented yet in HAL2.

LL_PWR_PVM_VDDA_OPAMP_DAC

LL_PWR_PVM_VDDA_2_2V

LL_PWR_SR2_PVMO2

Not implemented yet in HAL2.

LL_PWR_4KBYTES_SRAM2_RETENTION

Not implemented yet in HAL2.

LL_PWR_FULL_SRAM2_RETENTION

Not implemented yet in HAL2.

LL_PWR_GPIO_H

LL_PWR_GPIO_PORTH

LL_PWR_GPIO_I

LL_PWR_GPIO_PORTI

LL_PWR_NO_SRAM2_RETENTION

Not implemented yet in HAL2.

LL_PWR_PVM_VDDIO2_0_9V

Not implemented yet in HAL2.

LL_PWR_SR1_EXT_SMPS_RDY

Not implemented yet in HAL2.

LL_PWR_WAKEUP_PIN_NOPULL

LL_PWR_WAKEUP_PIN_PULL_NO

LL_PWR_CPU2_MODE_D1STANDBY

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D1STOP

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D2STANDBY

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D2STOP

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D3RUN

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D3STANDBY

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D3STOP

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D1STANDBY

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D1STOP

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D2STANDBY

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D2STOP

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D3RUN

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D3STANDBY

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D3STOP

Not implemented yet in HAL2.

LL_PWR_D3CR_VOSRDY

Not implemented yet in HAL2.

LL_PWR_PMCR_CSSF

Removed

LL_PWR_WUSCR_CWUF1

Removed

LL_PWR_WUSCR_CWUF2

Removed

LL_PWR_WUSCR_CWUF3

Removed

LL_PWR_WUSCR_CWUF4

Removed

LL_PWR_WUSCR_CWUF5

Removed

LL_PWR_WUSCR_CWUF6

Removed

LL_PWR_WUSCR_CWUF7

Removed

LL_PWR_WUSCR_CWUF_ALL

Removed

LL_PWR_FLAG_STOPF

Removed

LL_PWR_FLAG_SBF

Removed

LL_PWR_FLAG_PVDO

Removed

LL PWR functions

HAL1

HAL2

LL_PWR_DeInit

Removed / New usage changes

LL_PWR_DisableVDD11USB

LL_PWR_DisableVdd11USB

LL_PWR_EnableIORetention

LL_PWR_EnableIORetentionStandbyMode

LL_PWR_EnableJTAGIORetention

LL_PWR_EnableJTAGIORetentionStandbyMode

LL_PWR_EnableVDD11USB

LL_PWR_EnableVdd11USB

LL_PWR_IsEnabledVDD11USB

LL_PWR_IsEnabledVdd11USB

LL_PWR_ConfigSupply

LL_PWR_EnableBypass

LL_PWR_DisableAHBRAM2ShutOff

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_WU

Not implemented yet in HAL2.

LL_PWR_DisableJTAGIORetention

LL_PWR_DisableJTAGIORetentionStandbyMode

LL_PWR_DisableAHBRAM1ShutOff

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM3ShutOff

Not implemented yet in HAL2.

LL_PWR_DisableFlashPowerDown

LL_PWR_DisableFlashPowerDownInStop

LL_PWR_IsActiveFlag_WU

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM1ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM3ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableFlashPowerDown

LL_PWR_EnableFlashPowerDownInStop

LL_PWR_DisableIORetention

LL_PWR_DisableIORetentionStandbyMode

LL_PWR_DisableAHBRAM2_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM2_48K_ShutOff

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM2_High_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM2_Low_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_DisableETHERNETRAMShutOff

Not implemented yet in HAL2.

LL_PWR_DisableUSBVoltageDetector

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_48K_ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_High_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_Low_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_EnableETHERNETRAMShutOff

Not implemented yet in HAL2.

LL_PWR_EnableUSBVoltageDetector

Not implemented yet in HAL2.

LL_PWR_GetStopModeRegulVoltageScaling

Not implemented yet in HAL2.

LL_PWR_GetSupply

LL_PWR_IsEnabledBypass

LL_PWR_IsActiveFlag_BRR

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_48K_ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_High_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_Low_16K_ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledETHERNETRAMShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledUSBVoltageDetector

Not implemented yet in HAL2.

LL_PWR_SetStopModeRegulVoltageScaling

Not implemented yet in HAL2.

LL_PWR_ClearFlag_UD

Not implemented yet in HAL2.

LL_PWR_DisableFLASHInterfaceSTOP

Not implemented yet in HAL2.

LL_PWR_DisableFLASHMemorySTOP

Not implemented yet in HAL2.

LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode

Not implemented yet in HAL2.

LL_PWR_DisableLowPowerRegulatorLowVoltageMode

Not implemented yet in HAL2.

LL_PWR_DisableMainRegulatorDeepSleepUDMode

Not implemented yet in HAL2.

LL_PWR_DisableMainRegulatorLowVoltageMode

Not implemented yet in HAL2.

LL_PWR_DisableOverDriveSwitching

Not implemented yet in HAL2.

LL_PWR_DisableUnderDriveMode

Not implemented yet in HAL2.

LL_PWR_EnableFLASHInterfaceSTOP

Not implemented yet in HAL2.

LL_PWR_EnableFLASHMemorySTOP

Not implemented yet in HAL2.

LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode

Not implemented yet in HAL2.

LL_PWR_EnableLowPowerRegulatorLowVoltageMode

Not implemented yet in HAL2.

LL_PWR_EnableMainRegulatorDeepSleepUDMode

Not implemented yet in HAL2.

LL_PWR_EnableMainRegulatorLowVoltageMode

Not implemented yet in HAL2.

LL_PWR_EnableOverDriveSwitching

Not implemented yet in HAL2.

LL_PWR_EnableUnderDriveMode

Not implemented yet in HAL2.

LL_PWR_GetRegulModeDS

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_OD

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_ODSW

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_UD

Not implemented yet in HAL2.

LL_PWR_IsEnabledFLASHInterfaceSTOP

Not implemented yet in HAL2.

LL_PWR_IsEnabledFLASHMemorySTOP

Not implemented yet in HAL2.

LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode

Not implemented yet in HAL2.

LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode

Not implemented yet in HAL2.

LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode

Not implemented yet in HAL2.

LL_PWR_IsEnabledMainRegulatorLowVoltageMode

Not implemented yet in HAL2.

LL_PWR_IsEnabledOverDriveSwitching

Not implemented yet in HAL2.

LL_PWR_IsEnabledUnderDriveMode

Not implemented yet in HAL2.

LL_PWR_SetRegulModeDS

Not implemented yet in HAL2.

LL_PWR_DisableFlashPowerDownInLPRun

LL_PWR_DisableFlashPWRDownModeDuringLPRun

LL_PWR_DisableFlashPowerDownInLPSleep

LL_PWR_DisableFlashPWRDownModeDuringSleeep

LL_PWR_DisableLPMUResetSamplingMode

Not implemented yet in HAL2.

LL_PWR_EnableFlashPowerDownInLPRun

LL_PWR_EnableFlashPWRDownModeDuringLPRun

LL_PWR_EnableFlashPowerDownInLPSleep

LL_PWR_EnableFlashPWRDownModeDuringSleeep

LL_PWR_EnableLPMUResetSamplingMode

Not implemented yet in HAL2.

LL_PWR_GetPVDHighLevel

Not implemented yet in HAL2.

LL_PWR_GetPVDLowLevel

Not implemented yet in HAL2.

LL_PWR_IsEnableFlashPowerDownInLPRun

LL_PWR_IsEnabledFlashPWRDownModeDuringLPRun

LL_PWR_IsEnableFlashPowerDownInLPSleep

LL_PWR_IsEnabledFlashPWRDownModeDuringSleep

LL_PWR_IsEnableLPMUResetSamplingMode

Not implemented yet in HAL2.

LL_PWR_SetPVDHighLevel

Not implemented yet in HAL2.

LL_PWR_SetPVDLowLevel

Not implemented yet in HAL2.

LL_PWR_DisableRange1BoostMode

Not implemented yet in HAL2.

LL_PWR_DisableSRAM2Retention

LL_PWR_DisableSRAMRetention

LL_PWR_EnableRange1BoostMode

Not implemented yet in HAL2.

LL_PWR_EnableSRAM2Retention

LL_PWR_EnableSRAMRetention

LL_PWR_IsActiveFlag_PVMO1

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_PVMO2

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_PVMO3

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_PVMO4

Not implemented yet in HAL2.

LL_PWR_IsEnabledRange1BoostMode

Not implemented yet in HAL2.

LL_PWR_IsEnabledSRAM2Retention

LL_PWR_IsEnabledSRAMRetention

LL_PWR_DisableDSIPinsPDActivation

Not implemented yet in HAL2.

LL_PWR_DisableDSIPullDown

Not implemented yet in HAL2.

LL_PWR_DisableExtSMPS_0V95

Not implemented yet in HAL2.

LL_PWR_DisableSRAM3Retention

Not implemented yet in HAL2.

LL_PWR_EnableDSIPinsPDActivation

Not implemented yet in HAL2.

LL_PWR_EnableDSIPullDown

Not implemented yet in HAL2.

LL_PWR_EnableExtSMPS_0V95

Not implemented yet in HAL2.

LL_PWR_EnableSRAM3Retention

Not implemented yet in HAL2.

LL_PWR_GetSRAM2ContentRetention

LL_PWR_IsEnabledSRAMRetention

LL_PWR_IsActiveFlag_ExtSMPSReady

Not implemented yet in HAL2.

LL_PWR_IsEnabledDSIPinsPDActivation

Not implemented yet in HAL2.

LL_PWR_IsEnabledDSIPullDown

Not implemented yet in HAL2.

LL_PWR_IsEnabledExtSMPS_0V95

Not implemented yet in HAL2.

LL_PWR_IsEnabledSRAM3Retention

Not implemented yet in HAL2.

LL_PWR_SetSRAM2ContentRetention

LL_PWR_SetSRAMContentRetention

LL_PWR_IsEnabledJTAGIORetention

LL_PWR_IsEnabledJTAGIORetentionStandbyMode

LL_PWR_IsEnabledIORetention

LL_PWR_IsEnabledIORetentionStandbyMode

LL_PWR_GetCurrentVOS

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM1ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM3ShutOff

Not implemented yet in HAL2.

LL_PWR_IsEnabledFlashPowerDown

Not implemented yet in HAL2.

LL_PWR_DisableDeadBatteryPD

LL_PWR_DisableUCPDDeadBattery

LL_PWR_DisableStandByModePD

LL_PWR_DisableUCPDStandbyMode

LL_PWR_DisableUSBDeadBattery

LL_PWR_DisableUCPDDeadBattery

LL_PWR_DisableUSBStandByModePD

LL_PWR_DisableUCPDStandbyMode

LL_PWR_DisableVDDA

LL_PWR_DisableVddA

LL_PWR_DisableVDDAMonitor1

LL_PWR_DisableVddAMonitor1

LL_PWR_DisableVDDAMonitor2

LL_PWR_DisableVddAMonitor2

LL_PWR_DisableVDDIO2

LL_PWR_DisableVddIO2

LL_PWR_DisableVDDIO2Monitor

LL_PWR_DisableVddIO2Monitor

LL_PWR_DisableVDDUSB

LL_PWR_DisableVddUSB

LL_PWR_DisableVDDUSBMonitor

LL_PWR_DisableVddUSBMonitor

LL_PWR_EnableDeadBatteryPD

LL_PWR_EnableUCPDDeadBattery

LL_PWR_EnableStandByModePD

LL_PWR_EnableUCPDStandbyMode