Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_time.h File Reference

A simple time interface that records absolute time to millisecond resolution and allows waiting for a set number of milliseconds. More...

#include <stdint.h>
Include dependency graph for cascoda_time.h:

Go to the source code of this file.

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...
 

Detailed Description

A simple time interface that records absolute time to millisecond resolution and allows waiting for a set number of milliseconds.