CY Lim
/
LoRaWAN-demo-SX1272-RP
RP
Diff: system/timer.h
- Revision:
- 3:3152aa75c58d
- Parent:
- 0:45496a70a8a5
- Child:
- 5:62862ef9480b
--- 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__