xt-sdk 文档
v1.0.3
xt-sdk 嵌入式 SDK API 参考
Toggle main menu visibility
载入中...
搜索中...
未找到
xt_error.h
浏览该文件的文档.
1
12
13
#ifndef __XT_ERROR_H__
14
#define __XT_ERROR_H__
15
16
/* ==================== [Includes] ========================================== */
17
18
#include "
xt_types.h
"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
30
31
/* ==================== [Defines] =========================================== */
32
33
/* ==================== [Typedefs] ========================================== */
34
38
typedef
int32_t
xt_err_t
;
39
40
#define XT_EOK 0
41
#define XT_ERROR -1
42
#define XT_ETIMEOUT -2
43
#define XT_EFULL -3
44
#define XT_EEMPTY -4
45
#define XT_ENOMEM -5
46
#define XT_ENOSYS -6
47
#define XT_EBUSY -7
48
#define XT_EIO -8
49
#define XT_EINTR -9
50
#define XT_EINVAL -10
51
52
#define XT_ERR_TASK_ALLOC -11
53
#define XT_GRANDCHILD_NOT_SUPPORT -12
54
#define XT_TASK_RECALL -13
55
56
/* ==================== [Global Prototypes] ================================= */
57
58
/* ==================== [Macros] ============================================ */
59
/* xt_error */
61
62
#ifdef __cplusplus
63
}
/* extern "C" */
64
#endif
65
66
#endif
/* __XT_ERROR_H__ */
xt_err_t
int32_t xt_err_t
错误码类型
定义
xt_error.h:38
xt_types.h
XTINY 基础类型引用(stddef、stdint、stdbool)
components
xt_std
xt_error.h
生成于
, 为 xt-sdk 文档使用
1.17.0