Dodge/Chrysler Radio Emulator Connect to Interior CAN bus
Dependencies: mbed SDFileSystem
Diff: WatchDogTimer.h
- Revision:
- 0:9bc41d70bdd3
diff -r 000000000000 -r 9bc41d70bdd3 WatchDogTimer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WatchDogTimer.h Mon Jan 31 05:13:04 2011 +0000 @@ -0,0 +1,19 @@ +#ifndef WATCHDOGTIMER_H +#define WATCHDOGTIMER_H + +#include "mbed.h" + +// Simon's Watchdog code from +// http://mbed.org/forum/mbed/topic/508/ +class WatchDogTimer +{ +public: +// Load timeout value in watchdog timer and enable + void kick(float s); + +// "kick" or "feed" the dog - reset the watchdog timer +// by writing this required bit pattern + void kick(); +}; + +#endif \ No newline at end of file