This provides a basic Watchdog service, and includes a startup detection to determine if the reset was caused by the WD.

Fork of Watchdog by David Smart

Files at this revision

API Documentation at this revision

Comitter:
dragyu
Date:
Tue Nov 01 14:27:59 2016 +0000
Parent:
6:e0f547e22dd5
Commit message:
watch dog

Changed in this revision

Watchdog.h Show annotated file Show diff for this revision Revisions of this file
--- a/Watchdog.h	Mon Mar 16 01:04:32 2015 +0000
+++ b/Watchdog.h	Tue Nov 01 14:27:59 2016 +0000
@@ -80,7 +80,7 @@
     /// @returns none
     ///
     void Configure(float timeout);
-    
+    void Configure(int pr);
     /// Service the Watchdog so it does not cause a system reset
     ///
     /// example: