Uart适配器异步
看看ad_uart.c中的代码,我可以看到以下内容:
Void ad_uart_write_async(uart_device dev, const char *wbuf, size_t wlen, ad_uart_user_cb cb,
void * user_data)
{
Uart_device_config *device = (Uart_device_config *) dev;
Uart_bus_dynamic_data *data =设备->bus_data;