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.

[参考译文] TMS320F28075:SWPrioritedISR 文件

Guru**** 2576215 points
Other Parts Discussed in Thread: TMS320F28075

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/647347/tms320f28075-swprioritizedisr-files

器件型号:TMS320F28075

在 TMS320F28075的帮助下、我已经在项目中使用软件优先级中断了一段时间。 我最近在控制套件中发现了一些文件(F2807x_SWPrioritedPieVect.c、F2807x_SWPrioritedDefaultIsr.c 和 SWPrioritedInterrupts.c)、这些文件似乎是为了与软件优先级中断一起使用。 到目前为止、我只包含了 F2807x_SWPrioritizedIsrLevels.h 来设置 ISR 优先级、并且只使用了上述文件的非软件优先级版本。 这似乎可以根据需要工作、但我想知道如何设置我的项目是否有任何问题、我是否应该包含软件优先级版本。

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

    您好!

    您不必使用这些.c 文件。 只要您自己的 ISR 遵循与 SWPrioritedDefaultIsr.c ISR 相同的步骤来屏蔽和启用中断、就可以了。

    惠特尼