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.

[参考译文] TMS320F280049C:关于 F280049C 上的中断行为和主循环处理的确认

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1532826/tms320f280049c-confirmation-regarding-interrupt-behavior-and-main-loop-processing-on-f280049c

器件型号:TMS320F280049C

工具/软件:

您好、

我们当前正在评估 F280049C 器件、并想确认其在以下设置下的行为:

  • 过程 1:在 ADC 完成中断内执行的任务、该任务与 PWM 载波周期同步

  • 过程 2:在main()函数的无限循环内定期执行的任务(非中断驱动)

在该配置中、如果在主循环中执行进程 2 时发生进程 1 的中断、我们的理解是否正确:进程 2 将被暂停、进程 1 的中断服务例程将以更高的优先级执行、并且在完成后、进程 2 将从中断的位置恢复?

如果在中断优先级或任务切换行为方面有任何其他注意事项、我们将不胜感谢您的指导。

此致、
Conor