103 #define CFR_WDGTB_MASK ((uint32_t)0xFFFFFE7F) 104 #define CFR_W_MASK ((uint32_t)0xFFFFFF80) 105 #define BIT_MASK ((uint8_t)0x7F) 157 tmpreg |= WWDG_Prescaler;
170 __IO uint32_t tmpreg = 0;
179 tmpreg |= WindowValue & (uint32_t)
BIT_MASK;
void WWDG_EnableIT(void)
Enables the WWDG Early Wakeup interrupt(EWI).
FlagStatus WWDG_GetFlagStatus(void)
Checks whether the Early Wakeup interrupt flag is set or not.
void WWDG_Enable(uint8_t Counter)
Enables WWDG and load the counter value.
This file contains all the functions prototypes for the WWDG firmware library.
void WWDG_SetWindowValue(uint8_t WindowValue)
Sets the WWDG window value.
#define IS_WWDG_COUNTER(COUNTER)
void WWDG_DeInit(void)
Deinitializes the WWDG peripheral registers to their default reset values.
void assert_param(int val)
#define IS_WWDG_WINDOW_VALUE(VALUE)
#define IS_WWDG_PRESCALER(PRESCALER)
void RCC_APB1PeriphResetCmd(uint32_t RCC_APB1Periph, FunctionalState NewState)
Forces or releases Low Speed APB (APB1) peripheral reset.
This file contains all the functions prototypes for the RCC firmware library.
#define RCC_APB1Periph_WWDG
void WWDG_ClearFlag(void)
Clears Early Wakeup interrupt flag.
void WWDG_SetCounter(uint8_t Counter)
Sets the WWDG counter value.
void WWDG_SetPrescaler(uint32_t WWDG_Prescaler)
Sets the WWDG Prescaler.