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 *设备=(uart_device_config *)dev;
uart_bus_dynamic_data *data = device-> bus_data;
查看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 *设备=(uart_device_config *)dev;
uart_bus_dynamic_data *data = device-> bus_data;