WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
oal_types_device.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2019-2020. All rights reserved.
3 * Description: oal type head file.
4 * Create: 2019-2-21
5 */
6
7/*****************************************************************************
8 1 其他头文件包含
9*****************************************************************************/
10
11#ifndef __OAL_TYPES_DEVICE_H__
12#define __OAL_TYPES_DEVICE_H__
14
15
16#ifdef __cplusplus
17#if __cplusplus
18extern "C" {
19#endif
20#endif
21
22#define OAL_EIO 5 /* I/O error */
23#define OAL_ENOMEM 12 /* Out of memory */
24#define OAL_EFAUL 14 /* Bad address */
25#define OAL_EBUSY 16 /* Device or resource busy */
26#define OAL_ENODEV 19 /* No such device */
27
28/* 三种业务类型 */
29typedef enum {
30 OAL_TRAFFIC_NORMAL = 0, /* 一般业务 */
31 OAL_TRAFFIC_MULTI_USER_MULTI_AC = 1, /* 多用户多优先级业务 */
32 OAL_TRAFFIC_MULTI_USER_ONLY_BE = 2, /* 32用户单优先级业务 */
36
43
44#ifdef __cplusplus
45#if __cplusplus
46}
47#endif
48#endif
49
50#endif /* end of oal_types_device.h */
osal_u32 oal_err_code_enum_uint32
Definition oal_types_device.h:37
osal_u8 oal_traffic_type_enum_uint8
Definition oal_types_device.h:35
oal_rom_cb_result_enum
Definition oal_types_device.h:38
@ OAL_ROM_CB_RSLT_BUTT
Definition oal_types_device.h:41
@ OAL_CB_RETURN
Definition oal_types_device.h:40
@ OAL_CB_CONTINUE
Definition oal_types_device.h:39
oal_traffic_type_enum
Definition oal_types_device.h:29
@ OAL_TRAFFIC_MULTI_USER_ONLY_BE
Definition oal_types_device.h:32
@ OAL_TRAFFIC_MULTI_USER_MULTI_AC
Definition oal_types_device.h:31
@ OAL_TRAFFIC_BUTT
Definition oal_types_device.h:33
@ OAL_TRAFFIC_NORMAL
Definition oal_types_device.h:30
unsigned char osal_u8
Definition osal_types.h:11
unsigned int osal_u32
Definition osal_types.h:13