Classes | Macros | Typedefs | Functions
osal.h File Reference
#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)
 
boolean osal_timer_is_expired (const 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 29 of file osal.h.

◆ TRUE

#define TRUE   1

Definition at line 28 of file osal.h.

Typedef Documentation

◆ boolean

typedef uint8_t boolean

Definition at line 27 of file osal.h.

◆ float32

typedef float float32

Definition at line 38 of file osal.h.

◆ float64

typedef double float64

Definition at line 39 of file osal.h.

◆ int16

typedef int16_t int16

Definition at line 31 of file osal.h.

◆ int32

typedef int32_t int32

Definition at line 32 of file osal.h.

◆ int64

typedef int64_t int64

Definition at line 36 of file osal.h.

◆ int8

typedef int8_t int8

Definition at line 30 of file osal.h.

◆ osal_timert

typedef struct osal_timer osal_timert

◆ uint16

typedef uint16_t uint16

Definition at line 34 of file osal.h.

◆ uint32

typedef uint32_t uint32

Definition at line 35 of file osal.h.

◆ uint64

typedef uint64_t uint64

Definition at line 37 of file osal.h.

◆ uint8

typedef uint8_t uint8

Definition at line 33 of file osal.h.

Function Documentation

◆ osal_current_time()

ec_timet osal_current_time ( void  )

Definition at line 52 of file osal.c.

◆ osal_timer_is_expired()

boolean osal_timer_is_expired ( const osal_timert self)

Definition at line 78 of file osal.c.

◆ osal_timer_start()

void osal_timer_start ( osal_timert self,
uint32  timeout_us 
)

Definition at line 63 of file osal.c.

◆ osal_usleep()

int osal_usleep ( uint32  usec)

Definition at line 28 of file osal.c.



sr_hand_detector
Author(s):
autogenerated on Sat Sep 24 2022 02:26:10