|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|


结构体 | |
| struct | _hcc_transfer_param |
| struct | _hcc_adapt_ops_ |
| struct | _hcc_queue_ctrl_ |
| struct | hcc_queue_cfg |
宏定义 | |
| #define | HCC_DEFAULT_ALIGN_LEN 1 |
| #define | HCC_FC_NONE 0x0 /* 对调用者不进行流控,netbuf一直缓冲在hcc队列中,这种类型的数据包不宜过多 */ |
| #define | HCC_FC_WAIT 0x1 /* 阻塞等待,如果是在中断上下文调用,该标记被自动清除,非中断上下文生效 */ |
| #define | HCC_FC_NET 0x2 /* 对于网络层的流控 */ |
| #define | HCC_FC_DROP 0x4 /* 流控采用丢包方式,流控时返回成功 */ |
| #define | HCC_FC_ALL (HCC_FC_WAIT | HCC_FC_NET | HCC_FC_DROP) |
类型定义 | |
| typedef enum _hcc_queue_dir_ | hcc_queue_dir |
| typedef struct _hcc_transfer_param | hcc_transfer_param |
| typedef td_u32(* | hcc_msg_rx) (td_u8 *cb_data) |
| typedef td_u32(* | hcc_adapt_priv_alloc) (hcc_queue_type queue_id, td_u32 len, td_u8 **buf, td_u8 **user_param) |
| typedef td_void(* | hcc_adapt_priv_free) (hcc_queue_type queue_id, td_u8 *buf, td_u8 *user_param) |
| typedef td_void(* | hcc_flowctl_start_subq) (hcc_queue_type queue_id) |
| typedef td_void(* | hcc_flowctl_stop_subq) (hcc_queue_type queue_id) |
| typedef td_u32(* | hcc_adapt_priv_rx_process) (hcc_queue_type queue_id, td_u8 sub_type, td_u8 *buf, td_u32 len, td_u8 *user_param) |
| typedef struct _hcc_adapt_ops_ | hcc_adapt_ops |
| typedef struct _hcc_queue_ctrl_ | hcc_queue_ctrl |
枚举 | |
| enum | _hcc_queue_dir_ { HCC_DIR_TX = 0x0 , HCC_DIR_RX = 0x1 , HCC_DIR_COUNT } |
| #define HCC_DEFAULT_ALIGN_LEN 1 |
| #define HCC_FC_ALL (HCC_FC_WAIT | HCC_FC_NET | HCC_FC_DROP) |
| #define HCC_FC_DROP 0x4 /* 流控采用丢包方式,流控时返回成功 */ |
| #define HCC_FC_NET 0x2 /* 对于网络层的流控 */ |
| #define HCC_FC_NONE 0x0 /* 对调用者不进行流控,netbuf一直缓冲在hcc队列中,这种类型的数据包不宜过多 */ |
| #define HCC_FC_WAIT 0x1 /* 阻塞等待,如果是在中断上下文调用,该标记被自动清除,非中断上下文生效 */ |
| typedef struct _hcc_adapt_ops_ hcc_adapt_ops |
| typedef td_u32(* hcc_adapt_priv_alloc) (hcc_queue_type queue_id, td_u32 len, td_u8 **buf, td_u8 **user_param) |
| typedef td_void(* hcc_adapt_priv_free) (hcc_queue_type queue_id, td_u8 *buf, td_u8 *user_param) |
| typedef td_u32(* hcc_adapt_priv_rx_process) (hcc_queue_type queue_id, td_u8 sub_type, td_u8 *buf, td_u32 len, td_u8 *user_param) |
| typedef td_void(* hcc_flowctl_start_subq) (hcc_queue_type queue_id) |
| typedef td_void(* hcc_flowctl_stop_subq) (hcc_queue_type queue_id) |
| typedef struct _hcc_queue_ctrl_ hcc_queue_ctrl |
| typedef enum _hcc_queue_dir_ hcc_queue_dir |
| typedef struct _hcc_transfer_param hcc_transfer_param |
| enum _hcc_queue_dir_ |