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

◆ FALSE

#define FALSE   0

Definition at line 22 of file osal.h.

◆ TRUE

#define TRUE   1

Definition at line 19 of file osal.h.

Typedef Documentation

◆ boolean

typedef uint8_t boolean

Definition at line 24 of file osal.h.

◆ float32

typedef float float32

Definition at line 33 of file osal.h.

◆ float64

typedef double float64

Definition at line 34 of file osal.h.

◆ int16

typedef int16_t int16

Definition at line 26 of file osal.h.

◆ int32

typedef int32_t int32

Definition at line 27 of file osal.h.

◆ int64

typedef int64_t int64

Definition at line 31 of file osal.h.

◆ int8

typedef int8_t int8

Definition at line 25 of file osal.h.

◆ osal_timert

typedef struct osal_timer osal_timert

◆ uint16

typedef uint16_t uint16

Definition at line 29 of file osal.h.

◆ uint32

typedef uint32_t uint32

Definition at line 30 of file osal.h.

◆ uint64

typedef uint64_t uint64

Definition at line 32 of file osal.h.

◆ uint8

typedef uint8_t uint8

Definition at line 28 of file osal.h.

Function Documentation

◆ osal_current_time()

ec_timet osal_current_time ( void  )

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

◆ osal_thread_create()

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

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

◆ osal_thread_create_rt()

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

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

◆ osal_time_diff()

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

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

◆ osal_timer_is_expired()

boolean osal_timer_is_expired ( osal_timert self)

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

◆ osal_timer_start()

void osal_timer_start ( osal_timert self,
uint32  timeout_us 
)

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

◆ osal_usleep()

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 Wed Mar 2 2022 01:01:49