Lora4MakerFaire
Dependencies: HC_SR04_Ultrasonic_Library X_NUCLEO_IKS01A2 mbed LoRaWAN-lib SX1272Lib
Fork of LoRaWANdemo72 by
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__