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.

[参考译文] CCS/TMS570LS1227:不使用时是否需要通知功能?

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/613280/ccs-tms570ls1227-are-notification-functions-needed-when-not-used

器件型号:TMS570LS1227

工具/软件:Code Composer Studio

我已经看到,在 Hercules 微控制器的每个在线教程中(例如, https://www.youtube.com/watch?v=YOBWhFE0LZg ),它们总是声明通知函数,即使它们是空的。 是否确实需要此功能?

我已经跳过该步骤几次、程序已成功编译并运行、因此我的查询也是如此。  

此致、  

S.  

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

    不需要代码内调用或通过中断处理程序向量引用的任何函数。 无论如何、编译器很可能会优化它们。