LoRaWAN demo 76 bootcamp
Dependencies: mbed DigitDisplay Chainable_RGB_LED LoRaWAN-lib SX1276Lib
Diff: system/timer.h
- Revision:
- 1:21e3eef8200f
- Parent:
- 0:cb80564f40e1
- Child:
- 3:de1dcfbe175a
--- a/system/timer.h Thu Mar 17 09:32:46 2016 +0000 +++ b/system/timer.h Fri May 13 15:52:23 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__