ModularSensors > Files > WatchDogs / WatchDogSAMD.h

WatchDogSAMD.h file

Contains the extendedWatchDogSAMD class.

Code for this is taken from the Adafruit SleepyDog library: https://github.com/adafruit/Adafruit_SleepyDog/ and this library: https://github.com/javos65/WDTZero

Classes

class extendedWatchDogSAMD
The extendedWatchDogSAMD class uses the early warning interrupt to of the built in SAMD watchdog to extend the allowable time between resets of the watchdog's clock up to multiple minute timescales.

Functions

void WDT_Handler(void )
ISR handler for watchdog timer early warning (WDT EW ) interrupt.