osdep.h File Reference

Mercury API - OS dependencies. More...

#include <stdint.h>

Functions

uint32_t tmr_gettime_low (void)
uint32_t tmr_gettime_high (void)
void tmr_sleep (uint32_t sleepms)

Detailed Description

Mercury API - OS dependencies.

Author:
Nathan Williams
Date:
2/24/2010

Function Documentation

uint32_t tmr_gettime_high ( void   ) 

Return the high 32-bits of a system millisecond counter. This is used to timestamp tag reads.

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.

void tmr_sleep ( uint32_t  sleepms  ) 

Suspend operation for a given duration.

Parameters:
sleepms The number of milliseconds to sleep for.
Generated on Wed Aug 7 04:08:19 2019 for Mercury C API by  doxygen 1.6.3