Library to control Dodge LX (83.3k) CAN devices

Dependencies:   DodgeRadioLib EthernetWrapperLib OBDIILib mbed

Revision:
2:e8b13ea2881b
Parent:
1:90487a39d54e
Child:
5:46f139e53b15
--- a/WatchDogTimer.cpp	Fri Dec 30 20:23:00 2011 +0000
+++ b/WatchDogTimer.cpp	Mon Jan 02 03:53:46 2012 +0000
@@ -16,3 +16,9 @@
     LPC_WDT->WDFEED = 0xAA;
     LPC_WDT->WDFEED = 0x55;
 }
+
+// On reset, indicate a watchdog reset or a pushbutton reset  
+bool WatchDogTimer::TimedOut()
+{
+    return ((LPC_WDT->WDMOD >> 2) & 1);
+}
\ No newline at end of file