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.

[参考译文] CC3220SF:如何在 UART.h 中放弃或删除接收到的来自 RX 的所有数据?

Guru**** 2540720 points
Other Parts Discussed in Thread: CC3220SF

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1048811/cc3220sf-how-to-discard-or-remove-all-received-data-from-rx-in-uart-h

器件型号:CC3220SF

您好、支持团队、

 

我们的产品使用 CC3220SF SoC。 SimpleLink-SDK 版本:simplelink_cc32xx_sdk_4_30_00_06。

 

我的问题:

我可以看到文档文件:///C:/ti/simplelink_cc32xx_sdk_4_30_00_06/docs/drivers/doxygen/html/_u_a_r_t_8h.html. 如果我要放弃或删除 RX 中接收到的所有数据,如何操作?

 

此致、

Lishen

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请使用更新更新版的 UART2驱动程序(docs/drivers/doxygen/html/_u_a_r_t2_8h.html)。

    您将能够使用  UART2_flushRx()来清除 Rx 缓冲区。