Clears SLEEPONEXIT bit of SCR register. When this bit is
set, the processor re-enters SLEEP mode when an
interruption handling is over.
HAL_PWR_EnableSEVOnPend
void HAL_PWR_EnableSEVOnPend (void )
Enables CORTEX M3 SEVONPEND bit.
Sets SEVONPEND bit of SCR register. When this bit is set,
this causes WFE to wake up when an interrupt moves from
inactive to pended.
HAL_PWR_DisableSEVOnPend
void HAL_PWR_DisableSEVOnPend (void )
Disables CORTEX M3 SEVONPEND bit.
Clears SEVONPEND bit of SCR register. When this bit is set,
this causes WFE to wake up when an interrupt moves from
inactive to pended.
34.3 PWR Firmware driver defines
34.3.1 PWR
PWR CR Register alias address
PWR CSR Register alias address
PWR Exported Macro
Description:
Check PWR flag is set or not.
Parameters:
__FLAG__: specifies the flag to
check. This parameter can be one of
the following values:
PWR_FLAG_WU: Wake Up
flag. This flag indicates that a