用CC1310的串口接收数据时如何通过超时来判断一帧数据接收完毕?我看例程uartecho中是确定的字节数来判断接收完成的?如果我想用超时来判断的话应当如何处理?
Viki Shi:
General timeout
A timeout value can only be specified for reads and writes in UART_MODE_BLOCKING. If a timeout occurs during a read when in UART_MODE_BLOCKING, the number of bytes received will be returned and the UART_Object.status will be set to UART_TIMED_OUT. After a read timeout, RX will remain on, but device is allowed to enter standby.
Viki Shi:
参考 dev.ti.com/…/_u_a_r_t_c_c26_x_x_8h.html
dev.ti.com/…/_u_a_r_t_8h.html