20#ifndef STM32H7xx_LL_WWDG_H
21#define STM32H7xx_LL_WWDG_H
34#if defined (WWDG1) || defined (WWDG2)
57#define LL_WWDG_CFR_EWI WWDG_CFR_EWI
66#define LL_WWDG_PRESCALER_1 0x00000000u
67#define LL_WWDG_PRESCALER_2 WWDG_CFR_WDGTB_0
68#define LL_WWDG_PRESCALER_4 WWDG_CFR_WDGTB_1
69#define LL_WWDG_PRESCALER_8 (WWDG_CFR_WDGTB_0 | WWDG_CFR_WDGTB_1)
70#define LL_WWDG_PRESCALER_16 WWDG_CFR_WDGTB_2
71#define LL_WWDG_PRESCALER_32 (WWDG_CFR_WDGTB_2 | WWDG_CFR_WDGTB_0)
72#define LL_WWDG_PRESCALER_64 (WWDG_CFR_WDGTB_2 | WWDG_CFR_WDGTB_1)
73#define LL_WWDG_PRESCALER_128 (WWDG_CFR_WDGTB_2 | WWDG_CFR_WDGTB_1 | WWDG_CFR_WDGTB_0)
98#define LL_WWDG_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
106#define LL_WWDG_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
146__STATIC_INLINE uint32_t LL_WWDG_IsEnabled(
WWDG_TypeDef *WWDGx)
162__STATIC_INLINE
void LL_WWDG_SetCounter(
WWDG_TypeDef *WWDGx, uint32_t Counter)
173__STATIC_INLINE uint32_t LL_WWDG_GetCounter(
WWDG_TypeDef *WWDGx)
195__STATIC_INLINE
void LL_WWDG_SetPrescaler(
WWDG_TypeDef *WWDGx, uint32_t Prescaler)
214__STATIC_INLINE uint32_t LL_WWDG_GetPrescaler(
WWDG_TypeDef *WWDGx)
235__STATIC_INLINE
void LL_WWDG_SetWindow(
WWDG_TypeDef *WWDGx, uint32_t Window)
246__STATIC_INLINE uint32_t LL_WWDG_GetWindow(
WWDG_TypeDef *WWDGx)
268__STATIC_INLINE uint32_t LL_WWDG_IsActiveFlag_EWKUP(
WWDG_TypeDef *WWDGx)
279__STATIC_INLINE
void LL_WWDG_ClearFlag_EWKUP(
WWDG_TypeDef *WWDGx)
300__STATIC_INLINE
void LL_WWDG_EnableIT_EWKUP(
WWDG_TypeDef *WWDGx)
311__STATIC_INLINE uint32_t LL_WWDG_IsEnabledIT_EWKUP(
WWDG_TypeDef *WWDGx)
#define WWDG_CFR_WDGTB
Definition: stm32h723xx.h:21527
#define WWDG_CR_T
Definition: stm32h723xx.h:21496
#define WWDG_CFR_EWI
Definition: stm32h723xx.h:21523
#define WWDG_SR_EWIF
Definition: stm32h723xx.h:21535
#define WWDG_CR_WDGA
Definition: stm32h723xx.h:21507
#define WWDG_CFR_W
Definition: stm32h723xx.h:21512
CMSIS STM32H7xx Device Peripheral Access Layer Header File.
Window WATCHDOG.
Definition: stm32h723xx.h:1633
__IO uint32_t SR
Definition: stm32h723xx.h:1636
__IO uint32_t CR
Definition: stm32h723xx.h:1634
__IO uint32_t CFR
Definition: stm32h723xx.h:1635