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

浏览源代码.

结构体

struct  _bus_load_
 

宏定义

#define BUS_LOG_SYMBOL_SIZE   4
 
#define BUS_LOG_SYMBOL_NUM   5
 

类型定义

typedef hcc_bus *(* hcc_bus_load_func) (hcc_handler *hcc)
 
typedef td_void(* hcc_bus_unload_func) (td_void)
 
typedef struct _bus_load_ bus_load_unload
 

函数

hcc_bushcc_get_channel_bus (td_u8 chl)
 
bus_dev_opshcc_get_bus_ops (hcc_bus *bus)
 
td_void hcc_set_bus_ops (hcc_bus *bus, bus_dev_ops *dev_ops)
 
hcc_bushcc_alloc_bus (td_void)
 
td_void hcc_free_bus (hcc_bus *bus)
 
td_u32 hcc_bus_load (hcc_bus_type bus_type, hcc_handler *hcc)
 
td_void hcc_bus_unload (TD_CONST hcc_bus *bus)
 
td_u32 hcc_bus_tx_proc (hcc_bus *bus, hcc_trans_queue *queue, td_u16 *remain_pkt_nums)
 
td_bool hcc_bus_is_busy (hcc_bus *bus, hcc_queue_dir dir)
 
td_u32 hcc_bus_call_rx_message (hcc_bus *bus, hcc_rx_msg_type msg)
 
td_void hcc_bus_update_credit (hcc_bus *bus, td_u32 credit)
 
td_s32 hcc_bus_get_credit (hcc_bus *bus, td_u32 *credit)
 
td_s32 hcc_bus_reinit (hcc_bus *bus)
 
td_s32 hcc_bus_patch_read (hcc_bus *bus, td_u8 *buff, td_s32 len, td_u32 timeout)
 
td_s32 hcc_bus_patch_write (hcc_bus *bus, td_u8 *buff, td_s32 len)
 
td_void hcc_force_update_queue_id (hcc_bus *bus, td_u8 value)
 
td_s32 hcc_bus_power_action (hcc_bus *bus, hcc_bus_power_action_type action)
 
td_s32 hcc_bus_sleep_request (hcc_bus *bus)
 
td_s32 hcc_bus_wakeup_request (hcc_bus *bus)
 
td_s32 hcc_set_bus_func (td_u8 bus_type, bus_load_unload *bus_load_opt)
 
td_u32 hcc_get_pkt_max_len (td_u8 chl)
 

变量

td_s8 g_loglevel [5][4]
 

宏定义说明

◆ BUS_LOG_SYMBOL_NUM

#define BUS_LOG_SYMBOL_NUM   5

◆ BUS_LOG_SYMBOL_SIZE

#define BUS_LOG_SYMBOL_SIZE   4

类型定义说明

◆ bus_load_unload

typedef struct _bus_load_ bus_load_unload

◆ hcc_bus_load_func

typedef hcc_bus *(* hcc_bus_load_func) (hcc_handler *hcc)

◆ hcc_bus_unload_func

typedef td_void(* hcc_bus_unload_func) (td_void)

函数说明

◆ hcc_alloc_bus()

hcc_bus * hcc_alloc_bus ( td_void  )

◆ hcc_bus_call_rx_message()

td_u32 hcc_bus_call_rx_message ( hcc_bus bus,
hcc_rx_msg_type  msg 
)

◆ hcc_bus_get_credit()

td_s32 hcc_bus_get_credit ( hcc_bus bus,
td_u32 credit 
)

◆ hcc_bus_is_busy()

td_bool hcc_bus_is_busy ( hcc_bus bus,
hcc_queue_dir  dir 
)

◆ hcc_bus_load()

td_u32 hcc_bus_load ( hcc_bus_type  bus_type,
hcc_handler hcc 
)

◆ hcc_bus_patch_read()

td_s32 hcc_bus_patch_read ( hcc_bus bus,
td_u8 buff,
td_s32  len,
td_u32  timeout 
)

◆ hcc_bus_patch_write()

td_s32 hcc_bus_patch_write ( hcc_bus bus,
td_u8 buff,
td_s32  len 
)

◆ hcc_bus_power_action()

td_s32 hcc_bus_power_action ( hcc_bus bus,
hcc_bus_power_action_type  action 
)

◆ hcc_bus_reinit()

td_s32 hcc_bus_reinit ( hcc_bus bus)

◆ hcc_bus_sleep_request()

td_s32 hcc_bus_sleep_request ( hcc_bus bus)

◆ hcc_bus_tx_proc()

td_u32 hcc_bus_tx_proc ( hcc_bus bus,
hcc_trans_queue queue,
td_u16 remain_pkt_nums 
)

◆ hcc_bus_unload()

td_void hcc_bus_unload ( TD_CONST hcc_bus bus)

◆ hcc_bus_update_credit()

td_void hcc_bus_update_credit ( hcc_bus bus,
td_u32  credit 
)

◆ hcc_bus_wakeup_request()

td_s32 hcc_bus_wakeup_request ( hcc_bus bus)

◆ hcc_force_update_queue_id()

td_void hcc_force_update_queue_id ( hcc_bus bus,
td_u8  value 
)

◆ hcc_free_bus()

td_void hcc_free_bus ( hcc_bus bus)

◆ hcc_get_bus_ops()

bus_dev_ops * hcc_get_bus_ops ( hcc_bus bus)

◆ hcc_get_channel_bus()

hcc_bus * hcc_get_channel_bus ( td_u8  chl)

◆ hcc_get_pkt_max_len()

td_u32 hcc_get_pkt_max_len ( td_u8  chl)

◆ hcc_set_bus_func()

td_s32 hcc_set_bus_func ( td_u8  bus_type,
bus_load_unload bus_load_opt 
)

◆ hcc_set_bus_ops()

td_void hcc_set_bus_ops ( hcc_bus bus,
bus_dev_ops dev_ops 
)

变量说明

◆ g_loglevel

td_s8 g_loglevel[5][4]
extern