XFusion API
v1.3.0
载入中...
搜索中...
未找到
xf_osal.h
浏览该文件的文档.
1
19
#ifndef __XF_OSAL_H__
20
#define __XF_OSAL_H__
21
22
/* ==================== [Includes] ========================================== */
23
24
#include "
xf_osal_def.h
"
25
#include "
xf_osal_config_internal.h
"
26
#include "xf_utils.h"
27
28
#if XF_OSAL_KERNEL_IS_ENABLE
29
#include "
xf_osal_kernel.h
"
30
#endif
31
32
#if XF_OSAL_THREAD_IS_ENABLE
33
#include "
xf_osal_thread.h
"
34
#endif
35
36
#if XF_OSAL_TIMER_IS_ENABLE
37
#include "
xf_osal_timer.h
"
38
#endif
39
40
#if XF_OSAL_EVENT_IS_ENABLE
41
#include "
xf_osal_event.h
"
42
#endif
43
44
#if XF_OSAL_MUTEX_IS_ENABLE
45
#include "
xf_osal_mutex.h
"
46
#endif
47
48
#if XF_OSAL_SEMAPHORE_IS_ENABLE
49
#include "
xf_osal_semaphore.h
"
50
#endif
51
52
#if XF_OSAL_QUEUE_IS_ENABLE
53
#include "
xf_osal_queue.h
"
54
#endif
55
56
#ifdef __cplusplus
57
extern
"C"
{
58
#endif
59
60
/* ==================== [Defines] =========================================== */
61
62
/* ==================== [Typedefs] ========================================== */
63
64
/* ==================== [Global Prototypes] ================================= */
65
66
/* ==================== [Macros] ============================================ */
67
68
#ifdef __cplusplus
69
}
/* extern "C" */
70
#endif
71
72
#endif
// __XF_OSAL_H__
xf_osal_config_internal.h
xf_osal_def.h
xf_osal 内部公共定义、函数、数据。
xf_osal_event.h
事件标志可以同步线程。
xf_osal_kernel.h
调度器内核控制。
xf_osal_mutex.h
互斥 (Mutex) 同步资源访问
xf_osal_queue.h
以类似 FIFO 的操作在线程之间交换消息。
xf_osal_semaphore.h
信号量可以管理和保护对共享资源的访问。
xf_osal_thread.h
定义、创建和控制线程函数。
xf_osal_timer.h
创建和控制定时器和定时器回调函数。
components
xf_osal
xf_osal
xf_osal
xf_osal.h
生成于 2025年 一月 21日 星期二 17:25:09 , 为 XFusion API使用
1.9.8