Application example using LoRaWAN-lib MAC layer implementation for STM32 + SX1276 on OpenChirp

Dependencies:   mbed LoRaWAN-lib SX1276Lib

Revision:
5:1e9f6a365854
Parent:
1:352f608c3337
Child:
7:3173f0508a98
diff -r 00cf2370c99d -r 1e9f6a365854 system/timer.h
--- a/system/timer.h	Mon Mar 14 09:20:40 2016 +0000
+++ b/system/timer.h	Fri May 13 15:15:13 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__