6#ifndef __SOC_ZDIAG_CHANNEL_H__
7#define __SOC_ZDIAG_CHANNEL_H__
21 uint16_t len[], uint8_t cnt);
diag_channel_id_t
Definition dfx_resource_id.h:27
dfx_data_type_t
Definition dfx_write_interface.h:12
errcode_t soc_diag_channel_init(diag_channel_id_t id, uint32_t attribute)
Definition zdiag_channel.c:71
errcode_t(* diag_channel_notify_hook)(uint32_t id, uint32_t data)
Definition diag_channel.h:22
int32_t soc_diag_channel_rx_mux_char_data(diag_channel_id_t id, uint8_t *data, uint16_t size)
Definition zdiag_rx_api.c:145
soc_diag_channel_attribute_t
Definition diag_channel.h:16
@ SOC_DIAG_CHANNEL_ATTR_NEED_RX_BUF
Definition diag_channel.h:17
errcode_t soc_diag_channel_set_connect_hso_addr(diag_channel_id_t id, uint8_t hso_addr)
Definition zdiag_channel.c:54
errcode_t soc_diag_channel_set_notify_hook(diag_channel_id_t id, diag_channel_notify_hook hook)
Definition zdiag_channel.c:32
errcode_t soc_diag_channel_rx_mux_data(diag_channel_id_t id, uint8_t *data, uint16_t size)
Definition zdiag_rx_api.c:160
errcode_t soc_diag_channel_set_tx_hook(diag_channel_id_t id, diag_channel_tx_hook hook)
Definition zdiag_channel.c:43
int32_t(* diag_channel_tx_hook)(void *fd, dfx_data_type_t data_type, uint8_t *data[], uint16_t len[], uint8_t cnt)
Definition diag_channel.h:20
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
Definition hal_uart_v151_regs_def.h:38