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.

[参考译文] 编译器/TMS320F28033:PieVectTable。 分配

Guru**** 2614265 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/696285/compiler-tms320f28033-pievecttable-assignment

器件型号:TMS320F28033

工具/软件:TI C/C++编译器

大家好、团队、

我的客户使用"MainISR"作为中断函数、 他们错误 地将函数名称与"&" 一起使用到 PieVectTable、说"PieVectTable.EPWM1_INT = MainISR;"。 但没有任何警告或错误报告、该函数看起来与使用&MianISR 的正常编码运行相同。

您对此操作是否有任何意见? 这是否意味着在我们声明函数名称时 MainISR 值与地址相同?

谢谢。

此致。

黄咖喱