Loading...
Searching...
No Matches
os_types.h File Reference

mynewt-core types More...

Detailed Description

mynewt-core types

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file os_types.h.

#include <stdint.h>
+ Include dependency graph for os_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef uint32_t os_time_t
 time type
 
typedef char os_stack_t
 stack buffer type
 

Error codes not abstracted in mynewt-core/kernel/os

#define SYS_EINVAL   (-2)
 
#define SYS_ENOMEM   (-1)
 

Macro to wait forever on events and mutexes

#define OS_TIMEOUT_NEVER   (UINT32_MAX)
 
#define OS_WAIT_FOREVER   (OS_TIMEOUT_NEVER)
 

Macro Definition Documentation

◆ OS_TIMEOUT_NEVER

#define OS_TIMEOUT_NEVER   (UINT32_MAX)

Definition at line 41 of file os_types.h.

◆ OS_WAIT_FOREVER

#define OS_WAIT_FOREVER   (OS_TIMEOUT_NEVER)

Definition at line 42 of file os_types.h.

◆ SYS_EINVAL

#define SYS_EINVAL   (-2)

Definition at line 33 of file os_types.h.

◆ SYS_ENOMEM

#define SYS_ENOMEM   (-1)

Definition at line 34 of file os_types.h.

Typedef Documentation

◆ os_stack_t

typedef char os_stack_t

stack buffer type

Definition at line 53 of file os_types.h.

◆ os_time_t

typedef uint32_t os_time_t

time type

Definition at line 48 of file os_types.h.