![](/media/cache/profiles/100d5d9191f185eeb98d6e291756954a.50x50_q85.png)
Measure system
Dependencies: EthernetNetIf mbed RF12B
WatchDog/WatchDog.h
- Committer:
- benecsj
- Date:
- 2011-03-03
- Revision:
- 0:8d62137f7ff4
File content as of revision 0:8d62137f7ff4:
#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