STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE void LL_WWDG_EnableIT_EWKUP (WWDG_TypeDef *WWDGx)
 Enable the Early Wakeup Interrupt. More...
 
__STATIC_INLINE uint32_t LL_WWDG_IsEnabledIT_EWKUP (WWDG_TypeDef *WWDGx)
 Check if Early Wakeup Interrupt is enabled CFR EWI LL_WWDG_IsEnabledIT_EWKUP. More...
 

Detailed Description

Function Documentation

◆ LL_WWDG_EnableIT_EWKUP()

__STATIC_INLINE void LL_WWDG_EnableIT_EWKUP ( WWDG_TypeDef *  WWDGx)

Enable the Early Wakeup Interrupt.

Note
When set, an interrupt occurs whenever the counter reaches value 0x40. This interrupt is only cleared by hardware after a reset CFR EWI LL_WWDG_EnableIT_EWKUP
Parameters
WWDGxWWDG Instance
Return values
None

Definition at line 278 of file stm32l4xx_ll_wwdg.h.

279 {
280  SET_BIT(WWDGx->CFR, WWDG_CFR_EWI);
281 }

◆ LL_WWDG_IsEnabledIT_EWKUP()

__STATIC_INLINE uint32_t LL_WWDG_IsEnabledIT_EWKUP ( WWDG_TypeDef *  WWDGx)

Check if Early Wakeup Interrupt is enabled CFR EWI LL_WWDG_IsEnabledIT_EWKUP.

Parameters
WWDGxWWDG Instance
Return values
Stateof bit (1 or 0).

Definition at line 289 of file stm32l4xx_ll_wwdg.h.

290 {
291  return ((READ_BIT(WWDGx->CFR, WWDG_CFR_EWI) == (WWDG_CFR_EWI)) ? 1UL : 0UL);
292 }