version2018

Dependencies:   mbed LoRaWAN-lib SX1272Lib

Fork of LoRaWAN-demo-72 by Semtech

Revision:
3:3152aa75c58d
Parent:
0:45496a70a8a5
Child:
5:62862ef9480b
diff -r 2eeaeae2c725 -r 3152aa75c58d system/timer.h
--- a/system/timer.h	Mon Mar 14 09:17:05 2016 +0000
+++ b/system/timer.h	Fri May 13 15:14:44 2016 +0000
@@ -88,5 +88,20 @@
  */
 TimerTime_t TimerGetCurrentTime( void );
 
+/*!
+ * \brief Return the Time elapsed since a fix moment in Time
+ *
+ * \param [IN] savedTime    fix moment in Time
+ * \retval time             returns elapsed time
+ */
+TimerTime_t TimerGetElapsedTime( TimerTime_t savedTime );
+
+/*!
+ * \brief Return the Time elapsed since a fix moment in Time
+ *
+ * \param [IN] eventInFuture    fix moment in the future
+ * \retval time             returns difference between now and future event
+ */
+TimerTime_t TimerGetFutureTime( TimerTime_t eventInFuture );
 
 #endif // __TIMER_H__