15 #include "./hal/hal_power.h" 25 void (*rx_callback)(rx_param_t* arg);
36 uint16_t mst_addr_array[8];
37 uint16_t mst_addr_mask[8];
59 sdr_dev_t* hal_sdr_open(
void (*rx_callback)(rx_param_t* arg));
70 void hal_sdr_close(sdr_dev_t* dev);
89 int hal_sdr_mstr_to_slv(sdr_dev_t* dev,
char mode,
int slv_ack, sdr_addr_t* addr,
char chn,
char txr,
char rxr, uint16_t tx_len, uint8_t* tx_buf, uint16_t* actual_tx_bytes);
109 int hal_sdr_slv_to_mstr(sdr_dev_t* dev,
char mode,
int slv_ack, sdr_addr_t* addr,
char chn,
char txr,
char rxr, uint16_t rxw_sz,
110 uint16_t tx_len[8], uint8_t* tx_buf[8], uint16_t actual_tx_bytes_array[8]);