MG32L003 Standard Peripherals Firmware Library
|
Functions | |
void | WWDG_DeInit (void) |
Deinitializes the WWDG peripheral registers to their default reset values. 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_IT_Cmd (FunctionalState NewState) |
Enables or disable the WWDG's interrupt. More... | |
void | WWDG_SetCounter (uint8_t Counter) |
Sets the WWDG counter value. More... | |
void | WWDG_Cmd (FunctionalState NewState) |
Enables or disables the WWDG peripheral. More... | |
FlagStatus | WWDG_GetFlagStatus (void) |
Checks whether the Early Wakeup interrupt flag is set or not. More... | |
void | WWDG_ClearFlag (void) |
Clears Early Wakeup interrupt flag. More... | |
void WWDG_ClearFlag | ( | void | ) |
Clears Early Wakeup interrupt flag.
None |
None |
void WWDG_Cmd | ( | FunctionalState | NewState | ) |
Enables or disables the WWDG peripheral.
NewState | The new state of the WWDG peripheral. This parameter can be: ENABLE or DISABLE. |
None |
void WWDG_DeInit | ( | void | ) |
Deinitializes the WWDG peripheral registers to their default reset values.
None |
None |
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) |
void WWDG_IT_Cmd | ( | FunctionalState | NewState | ) |
Enables or disable the WWDG's interrupt.
NewState | The new state of the WWDG's interrupt. This parameter can be: ENABLE or DISABLE. |
None |
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 |
void WWDG_SetPrescaler | ( | uint32_t | WWDG_Prescaler | ) |
Sets the WWDG Prescaler.
WWDG_Prescaler | specifies the WWDG Prescaler. |
None |
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 |