static rt_err_t uart_input(rt_device_t dev, rt_size_t size){ /* 串口接收到数据后产生中断...
}if(UART_485_1_DEV_PTR == dev_485) { size = dev_485_1->read(dev_485_1,0, buf, len); }elseif(UART_485_2_DEV_PTR == dev_485) { size = dev_485_2->read(dev_485_2,0, buf, len); }elseif(UART_485_3_DEV_PTR == dev_485) { size = dev_485_3->read(dev_485_3,0...
RT-Thread online packages ---> IoT - internet of things ---> -*- AT DEVICE: RT-Thread AT component porting or samples for different device [*] Quectel M26/MC20 ---> [*] Enable initialize by thread [*] Enable sample (-1) Power pin (-1) Power status pin (uart3) AT client devi...