Measure system
Dependencies: EthernetNetIf mbed RF12B
WatchDog/WatchDog.h
- Committer:
- benecsj
- Date:
- 2011-05-17
- Revision:
- 3:799d8c61fb03
- Parent:
- 0:8d62137f7ff4
File content as of revision 3:799d8c61fb03:
#ifndef WATCHDOG_H #define WATCHDOG_H #include "mbed.h" /** Watchdog timer implementation (in seconds) */ class watchdog { public: /** Creates Watchdog timer * * @param Sets the WDT in seconds */ watchdog(float s); /** Keep feeding the watchdog in routine * * xxx.feed(); does the trick */ void feed(); }; /** Watchdog timer implementation (in milliseconds) */ class watchdog_ms { public: /** Creates Watchdog timer * * @param Sets the WDT in milliseconds */ watchdog_ms(int ms); /** Keep feeding the watchdog in routine * * xxx.feed(); does the trick */ void feed(); }; /** Watchdog timer implementation (in microseconds) */ class watchdog_us { public: /** Creates Watchdog timer * * @param Sets the WDT in microseconds */ watchdog_us(int us); /** Keep feeding the watchdog in routine * * xxx.feed(); does the trick */ void feed(); }; #endif