Mercury API - OS dependencies. More...
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | TMR_TimeStructure |
Typedefs | |
typedef struct TMR_TimeStructure | TMR_TimeStructure |
Functions | |
uint64_t | tmr_gettime (void) |
uint32_t | tmr_gettime_high (void) |
uint32_t | tmr_gettime_low (void) |
TMR_TimeStructure | tmr_gettimestructure (void) |
void | tmr_sleep (uint32_t sleepms) |
typedef struct TMR_TimeStructure TMR_TimeStructure |
uint64_t tmr_gettime | ( | void | ) |
Definition at line 39 of file osdep_arduino.c.
uint32_t tmr_gettime_high | ( | void | ) |
Return the high 32-bits of a system millisecond counter. This is used to timestamp tag reads.
Definition at line 51 of file osdep_arduino.c.
uint32_t tmr_gettime_low | ( | void | ) |
Return the low 32-bits of a system millisecond counter. This is used internally for operation timing and to timestamp tag reads.
Definition at line 45 of file osdep_arduino.c.
TMR_TimeStructure tmr_gettimestructure | ( | void | ) |
Definition at line 63 of file osdep_arduino.c.
void tmr_sleep | ( | uint32_t | sleepms | ) |
Suspend operation for a given duration.
sleepms | The number of milliseconds to sleep for. |
Definition at line 57 of file osdep_arduino.c.