WL865E4-P  36.07.001
m2mb_os_types.h
Go to the documentation of this file.
1 /*===============================================================================================*/
2 /* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
23 #ifndef M2MB_OS_TYPE_H
24 #define M2MB_OS_TYPE_H
25 
26 /* Include ======================================================================================*/
27 
37 /*-----------------------------------------------------------------------------------------------*/
38 
43 /*-----------------------------------------------------------------------------------------------*/
44 
45 /* Global declarations ==========================================================================*/
46 
47 #define M2MB_SEL_ENUM_TASK_START 0x1000
48 #define M2MB_SEL_ENUM_MTX_START 0x2000
49 #define M2MB_SEL_ENUM_SEM_START 0x4000
50 #define M2MB_SEL_ENUM_Q_START 0x8000
51 #define M2MB_SEL_ENUM_TMR_START 0x10000
52 
53 #define M2MB_SEL_START(item) M2MB_SEL_ENUM_##item##_START
54 
55 
56 #define M2MB_OS_WAIT_FOREVER 0xFFFFFFFF
57 #define M2MB_OS_NO_WAIT 0x0
58 
59 /* Global typedefs ==============================================================================*/
60 
61 typedef enum M2MB_OS_RESULT
62 {
99  /* --- */
108 
109  /* APPLICATION ERROR SECTION */
111 
118  /* ... */
122 
123  /* --- */
127 
128 
129 
130 /* Global functions =============================================================================*/
131 
132 
133 /* Global define ================================================================================*/
134 
135 
136 
140 /*-----------------------------------------------------------------------------------------------*/
141 
142 #endif /* M2MB_OS_TYPE_H */
M2MB_OS_RESULT
Definition: m2mb_os_types.h:61
enum M2MB_OS_RESULT M2MB_OS_RESULT_E
#define ENUM_TO_INT(Prefix)
Definition: m2mb_types.h:198