namrota ghosh 7 mesi fa
parent
commit
000bf6398e
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  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(){
+    
+}