osdep_posix.c File Reference

Mercury API - POSIX platform implementation of OS dependencies. More...

#include <time.h>
#include <sys/time.h>
#include "osdep.h"

Functions

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

Detailed Description

Mercury API - POSIX platform implementation of 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