Go to the documentation of this file.
147 #include "stm32h7xx_hal.h"
158 #ifdef HAL_PWR_MODULE_ENABLED
170 #if !defined (DUAL_CORE)
171 #define PVD_MODE_IT (0x00010000U)
172 #define PVD_MODE_EVT (0x00020000U)
175 #define PVD_RISING_EDGE (0x00000001U)
176 #define PVD_FALLING_EDGE (0x00000002U)
177 #define PVD_RISING_FALLING_EDGE (0x00000003U)
419 if (sConfigPVD ==
NULL)
432 #if !defined (DUAL_CORE)
440 #if !defined (DUAL_CORE)
442 if ((sConfigPVD->
Mode & PVD_MODE_IT) == PVD_MODE_IT)
448 if ((sConfigPVD->
Mode & PVD_MODE_EVT) == PVD_MODE_EVT)
455 if ((sConfigPVD->
Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE)
461 if ((sConfigPVD->
Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE)
626 #if defined (DUAL_CORE)
642 #if defined (PWR_CPUCR_PDDS_D2)
690 #if defined (DUAL_CORE)
708 #if defined (PWR_CPUCR_PDDS_D2)
722 #if defined (__CC_ARM)
808 #if defined (DUAL_CORE)
825 if (__HAL_PWR_PVD_EXTID2_GET_FLAG () != 0U)
828 __HAL_PWR_PVD_EXTID2_CLEAR_FLAG ();
#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.
PWR PVD configuration structure definition.
__STATIC_FORCEINLINE void __ISB(void)
Instruction Synchronization Barrier.
#define PWR_CPUCR_PDDS_D1
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 PWR_CPU2CR_PDDS_D2
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE()
Enable the PVD Extended Interrupt Rising Trigger.
void HAL_PWR_PVDCallback(void)
uint32_t HAL_GetCurrentCPUID(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)
#define PWR_WKUPEPR_WKUPEN
#define PWR_CPU2CR_PDDS_D1
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 PWR_CPUCR_PDDS_D2
#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)
#define PWR_CPUCR_PDDS_D3
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.
void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinx)
#define PWR_CPU2CR_PDDS_D3
#define SCB_SCR_SLEEPDEEP_Msk
#define SCB_SCR_SEVONPEND_Msk