Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
Watchdog.h
00001 #ifndef _WATCHDOG_H 00002 #define _WATCHDOG_H 00003 00004 #include <stdint.h> 00005 00006 #include "Module.h" 00007 00008 typedef enum 00009 { 00010 WDT_MRI, 00011 WDT_RESET, 00012 } WDT_ACTION; 00013 00014 class Watchdog : public Module 00015 { 00016 public: 00017 Watchdog(uint32_t timeout, WDT_ACTION action); 00018 void feed(); 00019 00020 void on_module_loaded(); 00021 void on_idle(void*); 00022 }; 00023 00024 #endif /* _WATCHDOG_H */
Generated on Tue Jul 12 2022 20:09:03 by 1.7.2