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.

[参考译文] MSP432WARE:如何清除 UART 状态标志

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1037305/msp432ware-how-to-clear-uart-status-flag

器件型号:MSP432WARE

客户想知道应使用哪个 API 来清除 UART 状态标志? 我们按如下所示检查 MSP432驱动程序库 UART 函数、找不到用于清除 UART 状态的 API 函数。

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

    您好、Terry、

    您是要清除中断标志吗?  如果是,则可以使用 API clearinterruptflag()。

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

    您好、Allen

    我们希望清除状态错误标志

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

    您好、Terry、

    我已经搜索了 API 指南。  没有其他 API 可用于清除 UART 中断标志。 我在432P 用户指南中找不到状态标志。 请详细说明要清除的寄存器和位。

    谢谢