Macros | Functions | Variables
intime/osal.c File Reference
#include <rt.h>
#include <sys/time.h>
#include <osal.h>
Include dependency graph for intime/osal.c:

Go to the source code of this file.

Macros

#define USECS_PER_SEC   1000000
 

Functions

ec_timet osal_current_time (void)
 
int osal_gettimeofday (struct timeval *tv, struct timezone *tz)
 
osal_mutex_t * osal_mtx_create (void)
 
void osal_mtx_lock (osal_mutex_t *mtx)
 
int osal_mtx_lock_timeout (osal_mutex_t *mtx, uint32_t time_ms)
 
void osal_mtx_unlock (osal_mutex_t *mtx)
 
boolean osal_timer_is_expired (osal_timert *self)
 
void osal_timer_start (osal_timert *self, uint32 timeout_usec)
 
int osal_usleep (uint32 usec)
 

Variables

static double qpc2usec
 
static int64_t sysfrequency
 

Macro Definition Documentation

#define USECS_PER_SEC   1000000

Definition at line 13 of file intime/osal.c.

Function Documentation

ec_timet osal_current_time ( void  )

Definition at line 20 of file intime/osal.c.

int osal_gettimeofday ( struct timeval *  tv,
struct timezone *  tz 
)

Definition at line 15 of file intime/osal.c.

osal_mutex_t* osal_mtx_create ( void  )

Definition at line 84 of file intime/osal.c.

void osal_mtx_lock ( osal_mutex_t *  mtx)

Definition at line 68 of file intime/osal.c.

int osal_mtx_lock_timeout ( osal_mutex_t *  mtx,
uint32_t  time_ms 
)

Definition at line 78 of file intime/osal.c.

void osal_mtx_unlock ( osal_mutex_t *  mtx)

Definition at line 73 of file intime/osal.c.

boolean osal_timer_is_expired ( osal_timert self)

Definition at line 46 of file intime/osal.c.

void osal_timer_start ( osal_timert self,
uint32  timeout_usec 
)

Definition at line 31 of file intime/osal.c.

int osal_usleep ( uint32  usec)
inline

Definition at line 60 of file intime/osal.c.

Variable Documentation

double qpc2usec
static

Definition at line 11 of file intime/osal.c.

int64_t sysfrequency
static

Definition at line 10 of file intime/osal.c.



soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Sat Jun 27 2020 03:48:21