Simple implementation of the watchdog timer for NRF51xxx.

Dependents:   WatchdogTimerTest Seeed_Test_Wristband_final mbed-os-PF-UWBBEACON_v1_dev RB-2018-X_MPU_12

Revision:
0:172aa845e1d7
Child:
1:10fdcb411fbd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WatchdogTimer.h	Tue Jun 30 16:19:16 2015 +0000
@@ -0,0 +1,17 @@
+#ifndef WATCHDOGTIMER_H
+#define WATCHDOGTIMER_H
+
+#include "mbed.h"
+
+class WatchdogTimer
+{
+public:
+    WatchdogTimer(float seconds);
+
+    void kick();
+
+private:
+    static const uint16_t NRF_CLK_RATE = 32768; //32KHz
+};
+
+#endif // WATCHDOGTIMER_H
\ No newline at end of file