this is avaiable project
Fork of LoRaMacLib by
Diff: board/timer.h
- Revision:
- 0:9be122c18509
diff -r 000000000000 -r 9be122c18509 board/timer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/board/timer.h Wed Aug 12 14:08:29 2015 +0000 @@ -0,0 +1,34 @@ +/* + / _____) _ | | +( (____ _____ ____ _| |_ _____ ____| |__ + \____ \| ___ | (_ _) ___ |/ ___) _ \ + _____) ) ____| | | || |_| ____( (___| | | | +(______/|_____)_|_|_| \__)_____)\____)_| |_| + (C)2013 Semtech + +Description: Target board general functions implementation + +License: Revised BSD License, see LICENSE.TXT file include in the project + +Maintainer: Miguel Luis and Gregory Cristian +*/ +#ifndef __TIMER_H__ +#define __TIMER_H__ + +#include "mbed.h" + + +/*! + * \brief Timer time variable definition + */ +#ifndef TimerTime_t +typedef uint64_t TimerTime_t; +#endif + +void ResetTimecounter( void ); + +void TimerHwInit( void ); + +TimerTime_t TimerGetCurrentTime( void ); + +#endif // __TIMER_H__