Setting this bit to 1 enables an interrupt-driven application to
avoid returning to an empty main application.
Reference Manual to
LL API cross
reference:
SCB_SCR SLEEPONEXIT LL_LPM_EnableSleepOnExit
LL_LPM_DisableSleepOnExit
__STATIC_INLINE void LL_LPM_DisableSleepOnExit (void )
Do not sleep when returning to Thread mode.
Reference Manual to
LL API cross
reference:
SCB_SCR SLEEPONEXIT LL_LPM_DisableSleepOnExit
LL_LPM_EnableEventOnPend
__STATIC_INLINE void LL_LPM_EnableEventOnPend (void )
Enabled events and all interrupts, including disabled interrupts,
can wakeup the processor.
Reference Manual to
LL API cross
reference:
SCB_SCR SEVEONPEND LL_LPM_EnableEventOnPend
LL_LPM_DisableEventOnPend
__STATIC_INLINE void LL_LPM_DisableEventOnPend (void )
Only enabled interrupts or events can wakeup the processor,
disabled interrupts are excluded.
Reference Manual to
LL API cross
reference:
SCB_SCR SEVEONPEND LL_LPM_DisableEventOnPend
LL_HANDLER_EnableFault
__STATIC_INLINE void LL_HANDLER_EnableFault (uint32_t
Fault)
Enable a fault in System handler control register (SHCSR)
Fault: This parameter can be a combination of the following
values:
LL_HANDLER_FAULT_USG
LL_HANDLER_FAULT_BUS
LL_HANDLER_FAULT_MEM