LL PWR APIs

LL PWR APIs Footprint

API

Min Code Size (Bytes)

Default Code Size (Bytes)

Max Code Size (Bytes)

Called functions

LL_PWR_ClearFlag_SB

12

12

12

None

LL_PWR_ClearFlag_STOP

12

12

12

None

LL_PWR_ClearFlag_WU

6

6

6

None

LL_PWR_ClearFlag_WU1

8

8

8

None

LL_PWR_ClearFlag_WU2

8

8

8

None

LL_PWR_ClearFlag_WU3

8

8

8

None

LL_PWR_ClearFlag_WU4

8

8

8

None

LL_PWR_ClearFlag_WU5

8

8

8

None

LL_PWR_ClearFlag_WU6

8

8

8

None

LL_PWR_ClearFlag_WU7

8

8

8

None

LL_PWR_DisableFlashLowPWRMode

14

14

14

None

LL_PWR_DisableIORetentionStandbyMode

12

12

12

None

LL_PWR_DisableJTAGIORetentionStandbyMode

12

12

12

None

LL_PWR_DisableMemoryStopRetention

12

12

12

None

LL_PWR_DisablePVD

14

14

14

None

LL_PWR_DisableRTCDomainWriteProtection

14

14

14

None

LL_PWR_DisableSRAM2Page1StopRetention

14

14

14

None

LL_PWR_DisableSRAM2Page2StopRetention

14

14

14

None

LL_PWR_DisableSRAM2PagesStopRetention

16

16

16

None

LL_PWR_DisableWakeUpPin

12

12

12

None

LL_PWR_DisableWakeUpPin1

14

14

14

None

LL_PWR_DisableWakeUpPin2

14

14

14

None

LL_PWR_DisableWakeUpPin3

14

14

14

None

LL_PWR_DisableWakeUpPin4

14

14

14

None

LL_PWR_DisableWakeUpPin5

14

14

14

None

LL_PWR_DisableWakeUpPin6

14

14

14

None

LL_PWR_DisableWakeUpPin7

14

14

14

None

LL_PWR_EnableFlashLowPWRMode

14

14

14

None

LL_PWR_EnableIORetentionStandbyMode

12

12

12

None

LL_PWR_EnableJTAGIORetentionStandbyMode

12

12

12

None

LL_PWR_EnableMemoryStopRetention

12

12

12

None

LL_PWR_EnablePVD

14

14

14

None

LL_PWR_EnableRTCDomainWriteProtection

14

14

14

None

LL_PWR_EnableSRAM2Page1StopRetention

14

14

14

None

LL_PWR_EnableSRAM2Page2StopRetention

14

14

14

None

LL_PWR_EnableSRAM2PagesStopRetention

16

16

16

None

LL_PWR_EnableWakeUpPin

12

12

12

None

LL_PWR_EnableWakeUpPin1

14

14

14

None

LL_PWR_EnableWakeUpPin2

14

14

14

None

LL_PWR_EnableWakeUpPin3

14

14

14

None

LL_PWR_EnableWakeUpPin4

14

14

14

None

LL_PWR_EnableWakeUpPin5

14

14

14

None

LL_PWR_EnableWakeUpPin6

14

14

14

None

LL_PWR_EnableWakeUpPin7

14

14

14

None

LL_PWR_GetPowerMode

12

12

12

None

LL_PWR_GetPrivAttr

18

18

18

None

LL_PWR_GetWakeUpPin1Polarity

14

14

14

None

LL_PWR_GetWakeUpPin1Pull

12

12

12

None

LL_PWR_GetWakeUpPin2Polarity

14

14

14

None

LL_PWR_GetWakeUpPin2Pull

12

12

12

None

LL_PWR_GetWakeUpPin3Polarity

14

14

14

None

LL_PWR_GetWakeUpPin3Pull

12

12

12

None

LL_PWR_GetWakeUpPin4Polarity

14

14

14

None

LL_PWR_GetWakeUpPin4Pull

12

12

12

None

LL_PWR_GetWakeUpPin5Polarity

14

14

14

None

LL_PWR_GetWakeUpPin5Pull

12

12

12

None

LL_PWR_GetWakeUpPin6Polarity

14

14

14

None

LL_PWR_GetWakeUpPin6Pull

12

12

12

None

LL_PWR_GetWakeUpPin7Polarity

14

14

14

None

LL_PWR_GetWakeUpPin7Pull

12

12

12

None

LL_PWR_GetWakeUpPinPolarity

32

32

32

None

LL_PWR_GetWakeUpPinPull

58

58

58

None

LL_PWR_IsActiveFlag_PVDO

12

12

12

None

LL_PWR_IsActiveFlag_SB

12

12

12

None

LL_PWR_IsActiveFlag_STOP

12

12

12

None

LL_PWR_IsActiveFlag_WU1

10

10

10

None

LL_PWR_IsActiveFlag_WU2

12

12

12

None

LL_PWR_IsActiveFlag_WU3

12

12

12

None

LL_PWR_IsActiveFlag_WU4

12

12

12

None

LL_PWR_IsActiveFlag_WU5

12

12

12

None

LL_PWR_IsActiveFlag_WU6

12

12

12

None

LL_PWR_IsActiveFlag_WU7

12

12

12

None

LL_PWR_IsEnabledFlashLowPWRMode

14

14

14

None

LL_PWR_IsEnabledIORetentionStandbyMode

10

10

10

None

LL_PWR_IsEnabledJTAGIORetentionStandbyMode

12

12

12

None

LL_PWR_IsEnabledMemoryStopRetention

20

20

20

None

LL_PWR_IsEnabledPVD

12

12

12

None

LL_PWR_IsEnabledRTCDomainWriteProtection

16

16

16

None

LL_PWR_IsEnabledSRAM2Page1StopRetention

18

18

18

None

LL_PWR_IsEnabledSRAM2Page2StopRetention

18

18

18

None

LL_PWR_IsEnabledSRAM2PagesStopRetention

20

20

20

None

LL_PWR_IsEnabledWakeUpPin

20

20

20

None

LL_PWR_IsEnabledWakeUpPin1

12

12

12

None

LL_PWR_IsEnabledWakeUpPin2

14

14

14

None

LL_PWR_IsEnabledWakeUpPin3

14

14

14

None

LL_PWR_IsEnabledWakeUpPin4

14

14

14

None

LL_PWR_IsEnabledWakeUpPin5

14

14

14

None

LL_PWR_IsEnabledWakeUpPin6

14

14

14

None

LL_PWR_IsEnabledWakeUpPin7

14

14

14

None

LL_PWR_SetPowerMode

16

16

16

None

LL_PWR_SetPrivAttr

20

20

20

None

LL_PWR_SetWakeUpPin1Polarity

18

18

18

None

LL_PWR_SetWakeUpPin1Pull

16

16

16

None

LL_PWR_SetWakeUpPin1PullDown

14

14

14

None

LL_PWR_SetWakeUpPin1PullNone

14

14

14

None

LL_PWR_SetWakeUpPin1PullUp

16

16

16

None

LL_PWR_SetWakeUpPin2Polarity

18

18

18

None

LL_PWR_SetWakeUpPin2Pull

16

16

16

None

LL_PWR_SetWakeUpPin2PullDown

14

14

14

None

LL_PWR_SetWakeUpPin2PullNone

14

14

14

None

LL_PWR_SetWakeUpPin2PullUp

16

16

16

None

LL_PWR_SetWakeUpPin3Polarity

18

18

18

None

LL_PWR_SetWakeUpPin3Pull

16

16

16

None

LL_PWR_SetWakeUpPin3PullDown

14

14

14

None

LL_PWR_SetWakeUpPin3PullNone

14

14

14

None

LL_PWR_SetWakeUpPin3PullUp

16

16

16

None

LL_PWR_SetWakeUpPin4Polarity

18

18

18

None

LL_PWR_SetWakeUpPin4Pull

16

16

16

None

LL_PWR_SetWakeUpPin4PullDown

14

14

14

None

LL_PWR_SetWakeUpPin4PullNone

14

14

14

None

LL_PWR_SetWakeUpPin4PullUp

16

16

16

None

LL_PWR_SetWakeUpPin5Polarity

18

18

18

None

LL_PWR_SetWakeUpPin5Pull

16

16

16

None

LL_PWR_SetWakeUpPin5PullDown

14

14

14

None

LL_PWR_SetWakeUpPin5PullNone

14

14

14

None

LL_PWR_SetWakeUpPin5PullUp

16

16

16

None

LL_PWR_SetWakeUpPin6Polarity

18

18

18

None

LL_PWR_SetWakeUpPin6Pull

16

16

16

None

LL_PWR_SetWakeUpPin6PullDown

14

14

14

None

LL_PWR_SetWakeUpPin6PullNone

14

14

14

None

LL_PWR_SetWakeUpPin6PullUp

16

16

16

None

LL_PWR_SetWakeUpPin7Polarity

18

18

18

None

LL_PWR_SetWakeUpPin7Pull

16

16

16

None

LL_PWR_SetWakeUpPin7PullDown

14

14

14

None

LL_PWR_SetWakeUpPin7PullNone

14

14

14

None

LL_PWR_SetWakeUpPin7PullUp

16

16

16

None

LL_PWR_SetWakeUpPinPolarity

48

48

48

None

LL_PWR_SetWakeUpPinPolarityHigh

14

14

14

None

LL_PWR_SetWakeUpPinPolarityLow

14

14

14

None

LL_PWR_SetWakeUpPinPull

50

50

50

None

LL_PWR_SetWakeUpPinPullDown

64

64

64

None

LL_PWR_SetWakeUpPinPullNone

50

50

50

None

LL_PWR_SetWakeUpPinPullUp

66

66

66

None

HAL PWR APIs

HAL PWR APIs Footprint

API

Min Code Size (Bytes)

Default Code Size (Bytes)

Max Code Size (Bytes)

Called functions

HAL_PWR_CleanPreviousSystemPowerMode

8

8

8

LL_PWR_ClearFlag_SB(Min)(Def)(Max)

HAL_PWR_ClearCorePendingEvent

6

6

6

None

HAL_PWR_DisableCoreSendEventOnPending

8

8

8

SCB_DisableEventOnPend(Min)(Def)(Max)

HAL_PWR_DisableCoreSleepOnExit

8

8

8

SCB_DisableSleepOnExit(Min)(Def)(Max)

HAL_PWR_DisableProgrammableVoltageDetector

8

8

8

LL_PWR_DisablePVD(Min)(Def)(Max)

HAL_PWR_DisableRTCDomainWriteProtection

8

8

8

LL_PWR_DisableRTCDomainWriteProtection(Min)(Def)(Max)

HAL_PWR_EnableCoreSendEventOnPending

8

8

8

SCB_EnableEventOnPend(Min)(Def)(Max)

HAL_PWR_EnableCoreSleepOnExit

8

8

8

SCB_EnableSleepOnExit(Min)(Def)(Max)

HAL_PWR_EnableProgrammableVoltageDetector

8

8

8

LL_PWR_EnablePVD(Min)(Def)(Max)

HAL_PWR_EnableRTCDomainWriteProtection

8

8

8

LL_PWR_EnableRTCDomainWriteProtection(Min)(Def)(Max)

HAL_PWR_EnterSleepMode

24

24

52

SCB_DisableDeepSleep(Min)(Def)(Max)

HAL_PWR_EnterStandbyMode

16

16

16

LL_PWR_SetPowerMode(Min)(Def)(Max), SCB_EnableDeepSleep(Min)(Def)(Max)

HAL_PWR_EnterStopMode

38

38

94

LL_PWR_SetPowerMode(Min)(Def)(Max), SCB_DisableDeepSleep(Min)(Def)(Max), SCB_EnableDeepSleep(Min)(Def)(Max)

HAL_PWR_GetCoreSleepMode

10

10

10

SCB_IsEnabledDeepSleep(Min)(Def)(Max)

HAL_PWR_GetPreviousSystemPowerMode

50

50

50

LL_PWR_GetPowerMode(Min)(Def)(Max), LL_PWR_IsActiveFlag_SB(Min)(Def)(Max), LL_PWR_IsActiveFlag_STOP(Min)(Def)(Max)

HAL_PWR_GetPrivAttr

14

14

28

LL_PWR_GetPrivAttr(Min)(Def)(Max)

HAL_PWR_GetProgrammableVoltageDetectorOutput

10

10

10

LL_PWR_IsActiveFlag_PVDO(Min)(Def)(Max)

HAL_PWR_IsEnabledCoreSendEventOnPending

10

10

10

SCB_IsEnabledEventOnPend(Min)(Def)(Max)

HAL_PWR_IsEnabledCoreSleepOnExit

10

10

10

SCB_IsEnabledSleepOnExit(Min)(Def)(Max)

HAL_PWR_IsEnabledProgrammableVoltageDetector

10

10

10

LL_PWR_IsEnabledPVD(Min)(Def)(Max)

HAL_PWR_IsEnabledRTCDomainWriteProtection

10

10

10

LL_PWR_IsEnabledRTCDomainWriteProtection(Min)(Def)(Max)

HAL_PWR_LP_CleanWakeupSource

12

12

38

LL_PWR_ClearFlag_WU(Min)(Def)(Max)

HAL_PWR_LP_DisableFlashLowPWRMode

8

8

8

LL_PWR_DisableFlashLowPWRMode(Min)(Def)(Max)

HAL_PWR_LP_DisableIORetention

10

10

40

None

HAL_PWR_LP_DisableMemoryPageRetention

92

92

152

LL_PWR_DisableSRAM2PagesStopRetention(Min)(Def)(Max)

HAL_PWR_LP_DisableMemoryRetention

44

44

72

LL_PWR_DisableMemoryStopRetention(Min)(Def)(Max)

HAL_PWR_LP_DisableWakeupPin

12

12

38

LL_PWR_DisableWakeUpPin(Min)(Def)(Max)

HAL_PWR_LP_EnableFlashLowPWRMode

8

8

8

LL_PWR_EnableFlashLowPWRMode(Min)(Def)(Max)

HAL_PWR_LP_EnableIORetention

10

10

40

None

HAL_PWR_LP_EnableMemoryPageRetention

92

92

152

LL_PWR_EnableSRAM2PagesStopRetention(Min)(Def)(Max)

HAL_PWR_LP_EnableMemoryRetention

44

44

72

LL_PWR_EnableMemoryStopRetention(Min)(Def)(Max)

HAL_PWR_LP_EnableWakeupPin

12

12

38

LL_PWR_EnableWakeUpPin(Min)(Def)(Max)

HAL_PWR_LP_GetConfigWakeupPin

98

98

156

None

HAL_PWR_LP_GetWakeupSource

6

6

8

None

HAL_PWR_LP_IsEnabledFlashLowPWRMode

10

10

10

LL_PWR_IsEnabledFlashLowPWRMode(Min)(Def)(Max)

HAL_PWR_LP_IsEnabledIORetention

34

34

54

LL_PWR_IsEnabledIORetentionStandbyMode(Min)(Def)(Max), LL_PWR_IsEnabledJTAGIORetentionStandbyMode(Min)(Def)(Max)

HAL_PWR_LP_IsEnabledMemoryPageRetention

76

76

128

LL_PWR_IsEnabledSRAM2PagesStopRetention(Min)(Def)(Max)

HAL_PWR_LP_IsEnabledMemoryRetention

40

40

64

LL_PWR_IsEnabledMemoryStopRetention(Min)(Def)(Max)

HAL_PWR_LP_IsEnabledWakeupPin

14

14

54

LL_PWR_IsEnabledWakeUpPin(Min)(Def)(Max)

HAL_PWR_LP_SetConfigWakeupPin

148

156

254

None

HAL_PWR_SetCoreSleepMode

24

24

52

SCB_DisableDeepSleep(Min)(Def)(Max), SCB_EnableDeepSleep(Min)(Def)(Max)

HAL_PWR_SetPrivAttr

36

36

50

LL_PWR_SetPrivAttr(Min)(Def)(Max)

Static PWR APIs

Static PWR APIs Footprint

API

Min Code Size (Bytes)

Default Code Size (Bytes)

Max Code Size (Bytes)

Called functions

PWR_MemoryFullRetentionMap

8

8

8

None

PWR_MemoryMaxPagesRetentionMap

8

8

8

None