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/MSP430FR2475:使用 MSP430FR2475和 driverLib 的中断向量存在问题

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/858208/ccs-msp430fr2475-problems-with-interrupt-vectors-using-msp430fr2475-and-driberlib

器件型号:MSP430FR2475

工具/软件:Code Composer Studio

我正在使用 driverlib 对 msp430fr2475进行编程、并且我遇到了中断向量问题。 我使用的是 CCS v9.2。

显然、编译器会在 legacy.h 文件中查找中断矢量、但并非所有矢量都在其中定义、例如"timer A"矢量。
编译器向我抛出"预期的标识符"错误。

我尝试在 legacy.h 文件中定义缺失的向量、但它不起作用。

我以前从未遇到过中断问题、这是我第一次使用 CCS v9.2、因为我一直在使用 CCS 6.2。

在 msp430fr2475.h 文件中定义了所有向量。 但我不知道如何使用它。

可以帮帮我吗?


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

    名称 TIMER0_A0_VECTOR 定义为小整数。 将 ISR 命名为其他名称。

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

    非常感谢、非常有帮助