Dodge/Chrysler Radio Emulator Connect to Interior CAN bus

Dependencies:   mbed SDFileSystem

WatchDogTimer.h

Committer:
rtgree01
Date:
2011-01-31
Revision:
0:9bc41d70bdd3

File content as of revision 0:9bc41d70bdd3:

#ifndef WATCHDOGTIMER_H
#define WATCHDOGTIMER_H

#include "mbed.h"

// Simon's Watchdog code from
// http://mbed.org/forum/mbed/topic/508/
class WatchDogTimer
{
public:
// Load timeout value in watchdog timer and enable
    void kick(float s);

// "kick" or "feed" the dog - reset the watchdog timer
// by writing this required bit pattern
    void kick();
};

#endif