UART_write和UART_writePolling函数有何区别?使用串口发送数据时 会出现数据出错
在使用UART_write函数时 如果两次该函数调用时间相近 则第二帧的数据会出错 如何解决
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
UART_write和UART_writePolling函数有何区别?使用串口发送数据时 会出现数据出错
在使用UART_write函数时 如果两次该函数调用时间相近 则第二帧的数据会出错 如何解决
你好,
不清楚你使用的是哪个软件。从函数名看UART_writePolling是轮询标注位,等待传输结束的。SDK的驱动都提供了源码,建议查看源码。
Chris