STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for LOW POWER MODE:

Functions

__STATIC_INLINE void LL_LPM_EnableSleep (void)
 Processor uses sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableSleep. More...
 
__STATIC_INLINE void LL_LPM_EnableDeepSleep (void)
 Processor uses deep sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableDeepSleep. More...
 
__STATIC_INLINE void LL_LPM_EnableSleepOnExit (void)
 Configures sleep-on-exit when returning from Handler mode to Thread mode. More...
 
__STATIC_INLINE void LL_LPM_DisableSleepOnExit (void)
 Do not sleep when returning to Thread mode. @rmtoll SCB_SCR SLEEPONEXIT LL_LPM_DisableSleepOnExit. More...
 
__STATIC_INLINE void LL_LPM_EnableEventOnPend (void)
 Enabled events and all interrupts, including disabled interrupts, can wakeup the processor. @rmtoll SCB_SCR SEVEONPEND LL_LPM_EnableEventOnPend. More...
 
__STATIC_INLINE void LL_LPM_DisableEventOnPend (void)
 Only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded @rmtoll SCB_SCR SEVEONPEND LL_LPM_DisableEventOnPend. More...
 
__STATIC_INLINE void LL_LPM_ClearEvent (void)
 Clear pending events. More...
 

Detailed Description

Function Documentation

◆ LL_LPM_ClearEvent()

__STATIC_INLINE void LL_LPM_ClearEvent ( void  )

Clear pending events.

Return values
None

Definition at line 378 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_DisableEventOnPend()

__STATIC_INLINE void LL_LPM_DisableEventOnPend ( void  )

Only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded @rmtoll SCB_SCR SEVEONPEND LL_LPM_DisableEventOnPend.

Return values
None

Definition at line 368 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_DisableSleepOnExit()

__STATIC_INLINE void LL_LPM_DisableSleepOnExit ( void  )

Do not sleep when returning to Thread mode. @rmtoll SCB_SCR SLEEPONEXIT LL_LPM_DisableSleepOnExit.

Return values
None

Definition at line 344 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_EnableDeepSleep()

__STATIC_INLINE void LL_LPM_EnableDeepSleep ( void  )

Processor uses deep sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableDeepSleep.

Return values
None

Definition at line 320 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_EnableEventOnPend()

__STATIC_INLINE void LL_LPM_EnableEventOnPend ( void  )

Enabled events and all interrupts, including disabled interrupts, can wakeup the processor. @rmtoll SCB_SCR SEVEONPEND LL_LPM_EnableEventOnPend.

Return values
None

Definition at line 356 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_EnableSleep()

__STATIC_INLINE void LL_LPM_EnableSleep ( void  )

Processor uses sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableSleep.

Return values
None

Definition at line 309 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_EnableSleepOnExit()

__STATIC_INLINE void LL_LPM_EnableSleepOnExit ( void  )

Configures sleep-on-exit when returning from Handler mode to Thread mode.

Note
Setting this bit to 1 enables an interrupt-driven application to avoid returning to an empty main application. @rmtoll SCB_SCR SLEEPONEXIT LL_LPM_EnableSleepOnExit
Return values
None

Definition at line 333 of file stm32f4xx_ll_cortex.h.