https://os.mbed.com/cookbook/WatchDog-Timer This link has demonstrated a way to implement Watchdog Timer on Mbed. This library is the library version of that code.
WatchdogTimer.h@2:1b576cfa3f49, 2018-02-09 (annotated)
- Committer:
- mreda
- Date:
- Fri Feb 09 11:32:52 2018 +0000
- Revision:
- 2:1b576cfa3f49
- Parent:
- 0:dece639e483e
WatchdogTimer_LPC1768_version_1.02
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mreda | 0:dece639e483e | 1 | #ifndef MBED_WatchdogTimer_H |
mreda | 0:dece639e483e | 2 | #define MBED_WatchdogTimer_H |
mreda | 0:dece639e483e | 3 | |
mreda | 0:dece639e483e | 4 | class WatchdogTimer { |
mreda | 0:dece639e483e | 5 | public: |
mreda | 0:dece639e483e | 6 | void kick(); |
mreda | 2:1b576cfa3f49 | 7 | void kick(float timeInSecond); |
mreda | 0:dece639e483e | 8 | |
mreda | 0:dece639e483e | 9 | }; |
mreda | 0:dece639e483e | 10 | |
mreda | 0:dece639e483e | 11 | #endif |