ModularSensors > Files > WatchDogs / WatchDogSAMD.h

WatchDogSAMD.h file

Contains the extendedWatchDogSAMD class.

Code for this is taken from the Adafruit SleepyDog library: and this library:


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.


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