STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
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.
__STATIC_INLINE void LL_LPM_EnableDeepSleep (void)
 Processor uses deep sleep as its low power mode @rmtoll SCB_SCR SLEEPDEEP LL_LPM_EnableDeepSleep.
__STATIC_INLINE void LL_LPM_EnableSleepOnExit (void)
 Configures sleep-on-exit when returning from Handler mode to Thread mode.
__STATIC_INLINE void LL_LPM_DisableSleepOnExit (void)
 Do not sleep when returning to Thread mode.
__STATIC_INLINE void LL_LPM_EnableEventOnPend (void)
 Enabled events and all interrupts, including disabled interrupts, can wakeup the processor.
__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.

Detailed Description

Function Documentation

◆ 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 373 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, CLEAR_BIT, SCB, and SCB_SCR_SEVONPEND_Msk.

◆ 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 349 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, CLEAR_BIT, SCB, and SCB_SCR_SLEEPONEXIT_Msk.

◆ 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 325 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, SCB, SCB_SCR_SLEEPDEEP_Msk, and SET_BIT.

◆ 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 361 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, SCB, SCB_SCR_SEVONPEND_Msk, and SET_BIT.

◆ 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 314 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, CLEAR_BIT, SCB, and SCB_SCR_SLEEPDEEP_Msk.

◆ 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 338 of file stm32h7xx_ll_cortex.h.

References __STATIC_INLINE, SCB, SCB_SCR_SLEEPONEXIT_Msk, and SET_BIT.