reef monitor

Dependencies:   mbed-rtos EthernetInterface FatFileSystemCpp MCP23S17 SDFileSystem mbed

Fork of HTTPServerHelloWorld by Donatien Garnier

HardwareDrivers/WatchDogTimer/WatchDogTimer.h

Committer:
wyunreal
Date:
2014-02-08
Revision:
7:1fe91b525d9a

File content as of revision 7:1fe91b525d9a:

#ifndef WATCH_DOG_TIMER_H
#define WATCH_DOG_TIMER_H

#include "mbed.h"

#define SYSTEM_RESET_NORMAL 1
#define SYSTEM_RESET_WATCH_DOG 2

class WatchDogTimer {
public: 
    WatchDogTimer(float seconds);
    void feed();
    static int systemResetReason();
};

#endif