Defines | Functions
osal.c File Reference
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#include <ethercat_soem/osal.h>
Include dependency graph for osal.c:

Go to the source code of this file.

Defines

#define USECS_PER_SEC   1000000

Functions

ec_timet osal_current_time (void)
int osal_gettimeofday (struct timeval *tv, struct timezone *tz)
boolean osal_timer_is_expired (const osal_timert *self)
void osal_timer_start (osal_timert *self, uint32 timeout_usec)
int osal_usleep (uint32 usec)

Define Documentation

#define USECS_PER_SEC   1000000

Definition at line 26 of file osal.c.


Function Documentation

Definition at line 52 of file osal.c.

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

Definition at line 37 of file osal.c.

Definition at line 78 of file osal.c.

void osal_timer_start ( osal_timert self,
uint32  timeout_usec 
)

Definition at line 63 of file osal.c.

int osal_usleep ( uint32  usec)

Definition at line 28 of file osal.c.



ethercat_soem
Author(s): Arthur Ketels, M.J.G. van de Molengraft
autogenerated on Wed Aug 26 2015 11:32:40