WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hcc_rom_callback.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
3 * Description: hcc rom patch callback function.
4 */
5
6#ifndef HCC_ROM_CALLBACK_H
7#define HCC_ROM_CALLBACK_H
8#include "hcc_types.h"
9#include "hcc.h"
10#include "hcc_queue.h"
11
12#ifdef __cplusplus
13#if __cplusplus
14extern "C" {
15#endif
16#endif
17
18typedef ext_errno (*hcc_tx_data_cb)(td_u8 chl, td_u8 *buf, td_u16 len, hcc_transfer_param *param);
21typedef ext_errno (*hcc_rx_data_cb)(hcc_handler *hcc, hcc_trans_queue *queue, td_u16 *pkt_cnt);
22typedef td_void (*hcc_rx_proc_cb)(hcc_header *hcc_head, td_u8 *buf, td_u8 *user_param,
25
36
46
49
50#ifdef __cplusplus
51#if __cplusplus
52}
53#endif
54#endif
55
56#endif
57
enum _hcc_queue_type hcc_queue_type
ext_errno(* hcc_tx_queue_cb)(hcc_handler *hcc, hcc_trans_queue *queue, hcc_transfer_param *param)
Definition hcc_rom_callback.h:19
ext_errno(* hcc_rx_data_cb)(hcc_handler *hcc, hcc_trans_queue *queue, td_u16 *pkt_cnt)
Definition hcc_rom_callback.h:21
td_void(* hcc_rx_proc_cb)(hcc_header *hcc_head, td_u8 *buf, td_u8 *user_param, hcc_adapt_priv_rx_process rx_proc)
Definition hcc_rom_callback.h:22
td_void(* hcc_thread_watchdog)(td_void)
Definition hcc_rom_callback.h:24
ext_errno(* hcc_tx_data_cb)(td_u8 chl, td_u8 *buf, td_u16 len, hcc_transfer_param *param)
Definition hcc_rom_callback.h:18
td_void(* hcc_rx_enqueue_cb)(hcc_handler *hcc, hcc_queue_type queue_id, hcc_unc_struc *unc_buf)
Definition hcc_rom_callback.h:20
td_void hcc_rom_cb_register(hcc_rom_callback *cb)
struct _hcc_rom_callback hcc_rom_callback
hcc_cb_offset
Definition hcc_rom_callback.h:26
@ HCC_CB_BUTT
Definition hcc_rom_callback.h:34
@ HCC_CB_RX_DATA
Definition hcc_rom_callback.h:31
@ HCC_CB_TX
Definition hcc_rom_callback.h:27
@ HCC_CB_TX_QUEUE
Definition hcc_rom_callback.h:28
@ HCC_CB_RX_PROC
Definition hcc_rom_callback.h:32
@ HCC_CB_WATCHDOG
Definition hcc_rom_callback.h:33
@ HCC_CB_BT_TX
Definition hcc_rom_callback.h:29
@ HCC_CB_RX_ENQUE
Definition hcc_rom_callback.h:30
td_void * hcc_get_rom_cb(hcc_cb_offset offset)
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)
Definition hcc_types.h:69
ext_errno
Definition soc_errno.h:9
Definition hcc.h:81
Definition hcc.h:39
Definition hcc_rom_callback.h:37
hcc_tx_data_cb tx_data
Definition hcc_rom_callback.h:38
hcc_rx_enqueue_cb rx_enque
Definition hcc_rom_callback.h:41
hcc_tx_queue_cb tx_queue
Definition hcc_rom_callback.h:39
hcc_thread_watchdog watchdog
Definition hcc_rom_callback.h:44
hcc_rx_proc_cb rx_proc
Definition hcc_rom_callback.h:43
hcc_tx_data_cb bt_tx_data
Definition hcc_rom_callback.h:40
hcc_rx_data_cb rx_data
Definition hcc_rom_callback.h:42
Definition hcc_queue.h:41
Definition hcc_types.h:30
Definition hcc_queue.h:27
unsigned short td_u16
Definition td_type.h:37
unsigned char td_u8
Definition td_type.h:36
void td_void
Definition td_type.h:49