Classes | Macros | Typedefs | Functions
osal.h File Reference
#include "osal_defs.h"
#include <stdint.h>
Include dependency graph for osal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ec_timet
 
struct  osal_timer
 

Macros

#define FALSE   0
 
#define TRUE   1
 

Typedefs

typedef uint8_t boolean
 
typedef float float32
 
typedef double float64
 
typedef int16_t int16
 
typedef int32_t int32
 
typedef int64_t int64
 
typedef int8_t int8
 
typedef struct osal_timer osal_timert
 
typedef uint16_t uint16
 
typedef uint32_t uint32
 
typedef uint64_t uint64
 
typedef uint8_t uint8
 

Functions

ec_timet osal_current_time (void)
 
int osal_thread_create (void *thandle, int stacksize, void *func, void *param)
 
int osal_thread_create_rt (void *thandle, int stacksize, void *func, void *param)
 
void osal_time_diff (ec_timet *start, ec_timet *end, ec_timet *diff)
 
boolean osal_timer_is_expired (osal_timert *self)
 
void osal_timer_start (osal_timert *self, uint32 timeout_us)
 
int osal_usleep (uint32 usec)
 

Macro Definition Documentation

#define FALSE   0

Definition at line 22 of file osal.h.

#define TRUE   1

Definition at line 19 of file osal.h.

Typedef Documentation

typedef uint8_t boolean

Definition at line 24 of file osal.h.

typedef float float32

Definition at line 33 of file osal.h.

typedef double float64

Definition at line 34 of file osal.h.

typedef int16_t int16

Definition at line 26 of file osal.h.

typedef int32_t int32

Definition at line 27 of file osal.h.

typedef int64_t int64

Definition at line 31 of file osal.h.

typedef int8_t int8

Definition at line 25 of file osal.h.

typedef struct osal_timer osal_timert
typedef uint16_t uint16

Definition at line 29 of file osal.h.

typedef uint32_t uint32

Definition at line 30 of file osal.h.

typedef uint64_t uint64

Definition at line 32 of file osal.h.

typedef uint8_t uint8

Definition at line 28 of file osal.h.

Function Documentation

ec_timet osal_current_time ( void  )

Definition at line 37 of file erika/osal.c.

int osal_thread_create ( void *  thandle,
int  stacksize,
void *  func,
void *  param 
)

Definition at line 102 of file linux/osal.c.

int osal_thread_create_rt ( void *  thandle,
int  stacksize,
void *  func,
void *  param 
)

Definition at line 119 of file linux/osal.c.

void osal_time_diff ( ec_timet start,
ec_timet end,
ec_timet diff 
)

Definition at line 48 of file erika/osal.c.

boolean osal_timer_is_expired ( osal_timert self)

Definition at line 74 of file erika/osal.c.

void osal_timer_start ( osal_timert self,
uint32  timeout_us 
)

Definition at line 59 of file erika/osal.c.

int osal_usleep ( uint32  usec)
inline

Definition at line 22 of file erika/osal.c.



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