Go to the documentation of this file.
37 #ifdef HAL_PWR_MODULE_ENABLED
48 #define PVD_MODE_IT ((uint32_t)0x00010000U)
49 #define PVD_MODE_EVT ((uint32_t)0x00020000U)
50 #define PVD_RISING_EDGE ((uint32_t)0x00000001U)
51 #define PVD_FALLING_EDGE ((uint32_t)0x00000002U)
59 #define PWR_EWUP_MASK ((uint32_t)0x00003F00)
276 if((sConfigPVD->
Mode & PVD_MODE_IT) == PVD_MODE_IT)
282 if((sConfigPVD->
Mode & PVD_MODE_EVT) == PVD_MODE_EVT)
288 if((sConfigPVD->
Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE)
293 if((sConfigPVD->
Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE)
496 #if defined ( __CC_ARM)
#define __HAL_PWR_PVD_EXTI_DISABLE_IT()
Disable the PVD EXTI Line 16.
#define assert_param(expr)
Include module's header file.
#define __HAL_PWR_PVD_EXTI_GET_FLAG()
checks whether the specified PVD Exti interrupt flag is set or not.
void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry)
void HAL_PWR_EnablePVD(void)
void HAL_PWR_EnterSTANDBYMode(void)
__STATIC_FORCEINLINE void __DSB(void)
Data Synchronization Barrier.
#define __HAL_RCC_PWR_RELEASE_RESET()
PWR PVD configuration structure definition.
#define __HAL_RCC_PWR_FORCE_RESET()
__STATIC_FORCEINLINE void __ISB(void)
Instruction Synchronization Barrier.
void HAL_PWR_DisableBkUpAccess(void)
void HAL_PWR_DisableSEVOnPend(void)
#define CLEAR_BIT(REG, BIT)
#define IS_PWR_STOP_ENTRY(ENTRY)
#define PWR_SLEEPENTRY_WFI
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT()
Enable event on PVD Exti Line 16.
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()
Enable the PVD Extended Interrupt Rising Trigger.
void HAL_PWR_PVDCallback(void)
void HAL_PWR_EnableBkUpAccess(void)
#define PWR_STOPENTRY_WFI
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT()
Disable event on PVD Exti Line 16.
#define MODIFY_REG(REG, CLEARMASK, SETMASK)
void HAL_PWR_EnableSleepOnExit(void)
#define __HAL_PWR_PVD_EXTI_ENABLE_IT()
Enable the PVD Exti Line 16.
void HAL_PWR_DisablePVD(void)
void HAL_PWR_PVD_IRQHandler(void)
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE()
Disable the PVD Extended Interrupt Rising Trigger.
void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD)
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE()
Enable the PVD Extended Interrupt Falling Trigger.
void HAL_PWR_DeInit(void)
#define IS_PWR_WAKEUP_PIN(PIN)
#define IS_PWR_PVD_LEVEL(LEVEL)
#define IS_PWR_REGULATOR(REGULATOR)
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()
Disable the PVD Extended Interrupt Falling Trigger.
void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx)
#define IS_PWR_SLEEP_ENTRY(ENTRY)
#define IS_PWR_PVD_MODE(MODE)
void HAL_PWR_EnableSEVOnPend(void)
void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry)
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG()
Clear the PVD Exti flag.
void HAL_PWR_DisableSleepOnExit(void)
#define SET_BIT(REG, BIT)
#define SCB_SCR_SLEEPONEXIT_Msk
#define __WFE
Wait For Event.
#define __WFI
Wait For Interrupt.
This file contains all the functions prototypes for the HAL module driver.
void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinx)
#define SCB_SCR_SLEEPDEEP_Msk
#define SCB_SCR_SEVONPEND_Msk