소스 검색

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(){
+    
+}