STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
Loading...
Searching...
No Matches
Collaboration diagram for LOW POWER MODE:

Functions

static void LL_LPM_EnableSleep (void)
 Processor uses sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableSleep.
static void LL_LPM_EnableDeepSleep (void)
 Processor uses deep sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableDeepSleep.
static void LL_LPM_EnableSleepOnExit (void)
 Configures sleep-on-exit when returning from Handler mode to Thread mode.
static void LL_LPM_DisableSleepOnExit (void)
 Do not sleep when returning to Thread mode. @rmtoll SCB_SCR SLEEPONEXIT LL_LPM_DisableSleepOnExit.
static void LL_LPM_EnableEventOnPend (void)
 Enabled events and all interrupts, including disabled interrupts, can wakeup the processor. @rmtoll SCB_SCR SEVEONPEND LL_LPM_EnableEventOnPend.
static 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.
static void LL_LPM_ClearEvent (void)
 Clear pending events.

Detailed Description

Function Documentation

◆ LL_LPM_ClearEvent()

void LL_LPM_ClearEvent ( void )
inline

Clear pending events.

Return values
None

Definition at line 378 of file stm32f4xx_ll_cortex.h.

◆ LL_LPM_DisableEventOnPend()

void LL_LPM_DisableEventOnPend ( void )
inline

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()

void LL_LPM_DisableSleepOnExit ( void )
inline

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()

void LL_LPM_EnableDeepSleep ( void )
inline

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()

void LL_LPM_EnableEventOnPend ( void )
inline

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()

void LL_LPM_EnableSleep ( void )
inline

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()

void LL_LPM_EnableSleepOnExit ( void )
inline

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.