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:默认中断服务例程文件

Guru**** 2577385 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1254438/tms320f280049c-default-interrupt-service-routines-file

器件型号:TMS320F280049C

尊敬的 Champ:

我要求为我的客户提供服务。

他们最近正在将编码风格从位字段移动到 driverlib。  

在位字段中、因为有一个包含所有 ISR 处理程序(包括 异常 ISR)的默认 ISR 文件"F28004x_DefaultISR.c"。

driverlib 是否具有用于 显示所有 ISR 处理程序(包括异常 ISR)的相同文件 ? 它是否对应于 interrupt.c 文件?  

谢谢。此致、

约翰尼

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

    Johnny、  

    interrupt.c 有一个函数"Interrupt_initVectorTable",它初始化 PIEVECTTABLE。 在此函数中、所有中断矢量均初始化为"Interrupt_DefaultHandler"。  

       此文件包含 Interrupt_illegalOperationHandler、Interrupt_nmiHandler 等异常处理程序。  用户可以创建自己的 ISR 函数并使用 Interrupt_register 函数将其注册。  

    此致

    西达尔特