瀏覽代碼

wwdt folder

namrota ghosh 7 月之前
父節點
當前提交
000bf6398e
共有 1 個文件被更改,包括 14 次插入0 次删除
  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(){
+    
+}