namrota ghosh hai 7 meses
pai
achega
000bf6398e
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      src/wwdt/wwdt.c

+ 14 - 0
src/wwdt/wwdt.c

@@ -0,0 +1,14 @@
+
+
+//pet the watchdog to prevent timeout
+ #include "ti/driverlib/dl_wwdt.h"
+
+//initialize the watchdog timer
+void petWatchDog(){
+    // resets WWDT peripheral
+    DL_WWDT_reset(WWDT0);
+}
+
+void checkWWDT(){
+    
+}