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

WatchdogTimer.h

Committer:
jcady92
Date:
2015-06-30
Revision:
0:172aa845e1d7
Child:
1:10fdcb411fbd

File content as of revision 0:172aa845e1d7:

#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