串口中断接受

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
花露水
Posts: 26

我用
tkl_uart_rx_irq_cb_reg(TUYA_UART_PORT_ID(TUYA_UART_SYS, 0),tuya_uart_RX_Test);
进入回调函数后
用了读取函数
tkl_uart_read(TUYA_UART_PORT_ID(TUYA_UART_SYS, 0),&RX_TEST,1);
我怎么判断我的缓存区结束了呢?

yangjie
Posts: 213

Re: 串口中断接受

判断我的缓存区结束了?是指判断一帧数据接收完成了?还是说缓冲区满了?

Post Reply