1 /**
2  * @file lv_mqx.h
3  *
4  */
5 
6 #ifndef LV_MQX_H
7 #define LV_MQX_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "lv_os.h"
17 
18 #if LV_USE_OS == LV_OS_MQX
19 
20 #include "mqx.h"
21 #include "mutex.h"
22 
23 /*********************
24  *      DEFINES
25  *********************/
26 
27 /**********************
28  *      TYPEDEFS
29  **********************/
30 
31 typedef _task_id lv_thread_t;
32 
33 typedef MUTEX_STRUCT lv_mutex_t;
34 
35 typedef LWSEM_STRUCT lv_thread_sync_t;
36 
37 /**********************
38  * GLOBAL PROTOTYPES
39  **********************/
40 
41 /**********************
42  *      MACROS
43  **********************/
44 
45 #endif /*LV_USE_OS == LV_OS_MQX*/
46 
47 #ifdef __cplusplus
48 } /*extern "C"*/
49 #endif
50 
51 #endif /*LV_MQX_H*/
52