WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hcc_types.h 文件参考
#include "td_type.h"
#include "hcc_cfg_comm.h"
hcc_types.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

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 }
 

宏定义说明

◆ HCC_DEFAULT_ALIGN_LEN

#define HCC_DEFAULT_ALIGN_LEN   1

◆ HCC_FC_ALL

#define HCC_FC_ALL   (HCC_FC_WAIT | HCC_FC_NET | HCC_FC_DROP)

◆ HCC_FC_DROP

#define HCC_FC_DROP   0x4 /* 流控采用丢包方式,流控时返回成功 */

◆ HCC_FC_NET

#define HCC_FC_NET   0x2 /* 对于网络层的流控 */

◆ HCC_FC_NONE

#define HCC_FC_NONE   0x0 /* 对调用者不进行流控,netbuf一直缓冲在hcc队列中,这种类型的数据包不宜过多 */

◆ HCC_FC_WAIT

#define HCC_FC_WAIT   0x1 /* 阻塞等待,如果是在中断上下文调用,该标记被自动清除,非中断上下文生效 */

类型定义说明

◆ hcc_adapt_ops

◆ hcc_adapt_priv_alloc

typedef td_u32(* hcc_adapt_priv_alloc) (hcc_queue_type queue_id, td_u32 len, td_u8 **buf, td_u8 **user_param)

◆ hcc_adapt_priv_free

typedef td_void(* hcc_adapt_priv_free) (hcc_queue_type queue_id, td_u8 *buf, td_u8 *user_param)

◆ hcc_adapt_priv_rx_process

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)

◆ hcc_flowctl_start_subq

typedef td_void(* hcc_flowctl_start_subq) (hcc_queue_type queue_id)

◆ hcc_flowctl_stop_subq

typedef td_void(* hcc_flowctl_stop_subq) (hcc_queue_type queue_id)

◆ hcc_msg_rx

typedef td_u32(* hcc_msg_rx) (td_u8 *cb_data)

◆ hcc_queue_ctrl

◆ hcc_queue_dir

◆ hcc_transfer_param

枚举类型说明

◆ _hcc_queue_dir_

枚举值
HCC_DIR_TX 
HCC_DIR_RX 
HCC_DIR_COUNT