Hal_Pwr_Enablesevonpend; Hal_Pwr_Disablesevonpend; Pwr Firmware Driver Defines - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL PWR Generic Driver
Return values
Notes

HAL_PWR_EnableSEVOnPend

Function name
Function description
Return values
Notes

HAL_PWR_DisableSEVOnPend

Function name
Function description
Return values
Notes
34.3

PWR Firmware driver defines

34.3.1
PWR
PWR CR Register alias address
DBP_BIT_NUMBER
CR_DBP_BB
PVDE_BIT_NUMBER
CR_PVDE_BB
PWR CSR Register alias address
EWUP_BIT_NUMBER
CSR_EWUP_BB
PWR Exported Macro
__HAL_PWR_GET_FLAG
410/1371
None:
Clears SLEEPONEXIT bit of SCR register. When this bit is
set, the processor re-enters SLEEP mode when an
interruption handling is over.
void HAL_PWR_EnableSEVOnPend (void )
Enables CORTEX M3 SEVONPEND bit.
None:
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.
void HAL_PWR_DisableSEVOnPend (void )
Disables CORTEX M3 SEVONPEND bit.
None:
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.
DocID028236 Rev 2
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
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF