namrota ghosh 7 mesiacov pred
rodič
commit
000bf6398e
1 zmenil súbory, kde vykonal 14 pridanie a 0 odobranie
  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(){
+    
+}