Functions
osdep_posix.c File Reference

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

#include <time.h>
#include <sys/time.h>
#include "osdep.h"
Include dependency graph for osdep_posix.c:

Go to the source code of this file.

Functions

uint64_t tmr_gettime ()
uint32_t tmr_gettime_high ()
uint32_t tmr_gettime_low ()
TMR_TimeStructure tmr_gettimestructure ()
void tmr_sleep (uint32_t sleepms)

Detailed Description

Mercury API - POSIX platform implementation of OS dependencies.

Author:
Nathan Williams
Date:
2/24/2010

Definition in file osdep_posix.c.


Function Documentation

uint64_t tmr_gettime ( void  )

Definition at line 37 of file osdep_posix.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 56 of file osdep_posix.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 49 of file osdep_posix.c.

Definition at line 79 of file osdep_posix.c.

void tmr_sleep ( uint32_t  sleepms)

Suspend operation for a given duration.

Parameters:
sleepmsThe number of milliseconds to sleep for.

Definition at line 64 of file osdep_posix.c.



thingmagic_rfid
Author(s): Brian Bingham
autogenerated on Thu May 16 2019 03:01:24