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.

[参考译文] TMS320F280025C:如何使用 SCI 非阻塞接收?

Guru**** 2390755 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1409296/tms320f280025c-how-to-use-sci-nonblocking-recieve

器件型号:TMS320F280025C

工具与软件:

大家好、团队成员:

此致、

Zane

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

    尊敬的 Zane:

    在这种情况下、由于该函数从 RX ISR 中调用、因此可以安全地调用阻塞函数。 只有在没有接收到的字符时、函数才会阻止该字符、并且我们知道如果正在执行 RX ISR、则已接收到一个字符。  

    如果您希望执行非阻塞接收、则可以将此函数调用切换到  LIN_READSCICharNonBlocking()。

    此致、

    Delaney