Interface exposing basic LPC1768 watchdog timer functionality.
Diff: WatchdogTimer.h
- Revision:
- 1:bb42bb1359b9
- Parent:
- 0:f39b85bbe46f
--- a/WatchdogTimer.h Sun Sep 02 14:54:58 2012 +0000 +++ b/WatchdogTimer.h Sun Sep 02 14:58:31 2012 +0000 @@ -2,7 +2,7 @@ #define MBED_WATCHDOG_TIMER_H /** - * Encapsulation of basic LPC1768 watchdog timer functionality. + * A class to encapsulate basic LPC1768 watchdog timer functionality. * * References: * 1) Chapter 28 in the LPC17xx UM. @@ -31,6 +31,9 @@ */ void feed(); + /** + * Return whether the previous reset was caused by the watchdog timer. + */ static bool causedReset(); };