|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Simple time interface for getting time since application start with millisecond resolution. More...

Functions | |
| uint32_t | TIME_ReadAbsoluteTime (void) |
| Get the number of milliseconds since program start. More... | |
| int | TIME_Cmp (uint32_t aT1, uint32_t aT2) |
| Compare the time arguments, including the loop-around nature of the time value. More... | |
| void | TIME_MicroTimerStart (void) |
| start microseconds timer More... | |
| uint32_t | TIME_MicroTimerStop (void) |
| stop microseconds timer More... | |
| uint32_t | TIME_MicroTimerGet (void) |
| get microseconds timer while running More... | |
Simple time interface for getting time since application start with millisecond resolution.
| int TIME_Cmp | ( | uint32_t | aT1, |
| uint32_t | aT2 | ||
| ) |
Compare the time arguments, including the loop-around nature of the time value.
Note that this function will be inaccurate if there is more than 2^31 milliseconds difference.
| aT1 | T1 |
| aT2 | T2 |
| 0 | T1 == T2 |
| 1 | T1 > T2 |
| -1 | T1 < T2 |
| uint32_t TIME_MicroTimerGet | ( | void | ) |
get microseconds timer while running
| void TIME_MicroTimerStart | ( | void | ) |
start microseconds timer
| uint32_t TIME_MicroTimerStop | ( | void | ) |
stop microseconds timer
| uint32_t TIME_ReadAbsoluteTime | ( | void | ) |
Get the number of milliseconds since program start.