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.

[FAQ] [参考译文] [常见问题解答] C28x 软件提示:中断被 RPT 阻止。 我该怎么做?

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/719619/faq-c28x-software-tip-interrupts-are-blocked-by-rpt-what-can-i-do

问题:

当编译器使用 RPT (重复一条指令)时、中断在我的应用程序中被阻止。  如何限制向指令应用 RPT 的次数、或告诉编译器不要使用 RPT、以便中断得以通过?

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

    答案:

    有关  禁用 RPT 或限制允许的 RPT 数量的编译器选项、请参阅《C28x 编译器参考指南》www.ti.com/.../spru514。  

    --no_rpt

    --rpt_threshold=k

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢 Lori、这是一个很好的信息!