Modules | |
Prescaler, Refresh window and Counter configuration functions | |
Prescaler, Refresh window and Counter configuration functions. | |
WWDG activation functions | |
WWDG activation functions. | |
Interrupts and flags management functions | |
Interrupts and flags management functions. | |
Functions | |
void | WWDG_ClearFlag (void) |
Clears Early Wakeup interrupt flag. More... | |
void | WWDG_DeInit (void) |
Deinitializes the WWDG peripheral registers to their default reset values. More... | |
void | WWDG_Enable (uint8_t Counter) |
Enables WWDG and load the counter value. More... | |
void | WWDG_EnableIT (void) |
Enables the WWDG Early Wakeup interrupt(EWI). More... | |
FlagStatus | WWDG_GetFlagStatus (void) |
Checks whether the Early Wakeup interrupt flag is set or not. More... | |
void | WWDG_SetCounter (uint8_t Counter) |
Sets the WWDG counter value. More... | |
void | WWDG_SetPrescaler (uint32_t WWDG_Prescaler) |
Sets the WWDG Prescaler. More... | |
void | WWDG_SetWindowValue (uint8_t WindowValue) |
Sets the WWDG window value. More... | |
void WWDG_ClearFlag | ( | void | ) |
Clears Early Wakeup interrupt flag.
None |
None |
Definition at line 207 of file stm32f10x_wwdg.c.
void WWDG_DeInit | ( | void | ) |
Deinitializes the WWDG peripheral registers to their default reset values.
None |
None |
Definition at line 102 of file stm32f10x_wwdg.c.
void WWDG_Enable | ( | uint8_t | Counter | ) |
Enables WWDG and load the counter value.
Counter | specifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F. |
None |
Definition at line 185 of file stm32f10x_wwdg.c.
void WWDG_EnableIT | ( | void | ) |
Enables the WWDG Early Wakeup interrupt(EWI).
None |
None |
Definition at line 159 of file stm32f10x_wwdg.c.
FlagStatus WWDG_GetFlagStatus | ( | void | ) |
Checks whether the Early Wakeup interrupt flag is set or not.
None |
The | new state of the Early Wakeup interrupt flag (SET or RESET) |
Definition at line 197 of file stm32f10x_wwdg.c.
void WWDG_SetCounter | ( | uint8_t | Counter | ) |
Sets the WWDG counter value.
Counter | specifies the watchdog counter value. This parameter must be a number between 0x40 and 0x7F. |
None |
Definition at line 170 of file stm32f10x_wwdg.c.
void WWDG_SetPrescaler | ( | uint32_t | WWDG_Prescaler | ) |
Sets the WWDG Prescaler.
WWDG_Prescaler | specifies the WWDG Prescaler. This parameter can be one of the following values:
|
None |
Definition at line 118 of file stm32f10x_wwdg.c.
void WWDG_SetWindowValue | ( | uint8_t | WindowValue | ) |
Sets the WWDG window value.
WindowValue | specifies the window value to be compared to the downcounter. This parameter value must be lower than 0x80. |
None |
Definition at line 137 of file stm32f10x_wwdg.c.