Driver for Freescale WDOG device. There are different implementations of the Watchdog devices. Currently, it is only possible to turn the Watchdog off. It supports two types: an advanced Watchdog, mostly found on Kinetis MCUs with Cortex-M4 inside and a simpler COP Watchdog. More...
Driver for Freescale WDOG device. There are different implementations of the Watchdog devices. Currently, it is only possible to turn the Watchdog off. It supports two types: an advanced Watchdog, mostly found on Kinetis MCUs with Cortex-M4 inside and a simpler COP Watchdog.
The driver attempts to determine the type of the WDOG. Also you can force the use of advanced WDOG:
#define KINETIS_WDOG_ADVANCED 1
Or the use of COP WDOG:
#define KINETIS_WDOG_ADVANCED 0
Files | |
file | wdog.h |
Interface definition for the Kinetis WDOG driver. | |
Functions | |
void | wdog_disable (void) |
Disable hardware watchdog. | |