this is avaiable project
Fork of LoRaMacLib by
board/timer.h@0:9be122c18509, 2015-08-12 (annotated)
- Committer:
- GregCr
- Date:
- Wed Aug 12 14:08:29 2015 +0000
- Revision:
- 0:9be122c18509
First Implementation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GregCr | 0:9be122c18509 | 1 | /* |
GregCr | 0:9be122c18509 | 2 | / _____) _ | | |
GregCr | 0:9be122c18509 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
GregCr | 0:9be122c18509 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
GregCr | 0:9be122c18509 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
GregCr | 0:9be122c18509 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
GregCr | 0:9be122c18509 | 7 | (C)2013 Semtech |
GregCr | 0:9be122c18509 | 8 | |
GregCr | 0:9be122c18509 | 9 | Description: Target board general functions implementation |
GregCr | 0:9be122c18509 | 10 | |
GregCr | 0:9be122c18509 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
GregCr | 0:9be122c18509 | 12 | |
GregCr | 0:9be122c18509 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
GregCr | 0:9be122c18509 | 14 | */ |
GregCr | 0:9be122c18509 | 15 | #ifndef __TIMER_H__ |
GregCr | 0:9be122c18509 | 16 | #define __TIMER_H__ |
GregCr | 0:9be122c18509 | 17 | |
GregCr | 0:9be122c18509 | 18 | #include "mbed.h" |
GregCr | 0:9be122c18509 | 19 | |
GregCr | 0:9be122c18509 | 20 | |
GregCr | 0:9be122c18509 | 21 | /*! |
GregCr | 0:9be122c18509 | 22 | * \brief Timer time variable definition |
GregCr | 0:9be122c18509 | 23 | */ |
GregCr | 0:9be122c18509 | 24 | #ifndef TimerTime_t |
GregCr | 0:9be122c18509 | 25 | typedef uint64_t TimerTime_t; |
GregCr | 0:9be122c18509 | 26 | #endif |
GregCr | 0:9be122c18509 | 27 | |
GregCr | 0:9be122c18509 | 28 | void ResetTimecounter( void ); |
GregCr | 0:9be122c18509 | 29 | |
GregCr | 0:9be122c18509 | 30 | void TimerHwInit( void ); |
GregCr | 0:9be122c18509 | 31 | |
GregCr | 0:9be122c18509 | 32 | TimerTime_t TimerGetCurrentTime( void ); |
GregCr | 0:9be122c18509 | 33 | |
GregCr | 0:9be122c18509 | 34 | #endif // __TIMER_H__ |