Andy A / WakeUp

Fork of WakeUp by Erik -

Revision:
18:e71f388710b7
Parent:
10:c41bc9154a7c
Child:
19:c1fc9bb48d2b
diff -r 49d9e3a3e904 -r e71f388710b7 WakeUp.h
--- a/WakeUp.h	Wed Apr 22 20:36:13 2015 +0000
+++ b/WakeUp.h	Thu Jun 25 08:18:26 2015 +0000
@@ -90,9 +90,16 @@
     */
     static void calibrate(void);
 
+    /**
+    * Time until the next wakeup
+    *
+    * Give the time in ms until the next wakeup event is scheduled.
+    */
+    static uint32_t timeRemaining(void);
 
 private:
     static FunctionPointer callback;
     static void irq_handler(void);
     static float cycles_per_ms;
+    static uint32_t timeoutSet;
 };
\ No newline at end of file