STM8L15x Standard Peripherals Drivers
|
WWDG counter and software reset management. More...
Functions | |
uint8_t | WWDG_GetCounter (void) |
Gets the WWDG Counter Value. | |
void | WWDG_SWReset (void) |
Generates immediate WWDG RESET. |
Detailed Description
WWDG counter and software reset management.
=============================================================================== WWDG counter and software reset management ===============================================================================
Function Documentation
uint8_t WWDG_GetCounter | ( | void | ) |
Gets the WWDG Counter Value.
This value could be used to check if WWDG is in the window, where refresh is allowed.
Definition at line 210 of file stm8l15x_wwdg.c.
References WWDG.
void WWDG_SWReset | ( | void | ) |
Generates immediate WWDG RESET.
Definition at line 220 of file stm8l15x_wwdg.c.
References WWDG, and WWDG_CR_WDGA.