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/MSP430FR5969:无法解析函数_never_executed()

Guru**** 2595805 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/965571/ccs-msp430fr5969-function-_never_executed-cannot-be-resolved

器件型号:MSP430FR5969
主题中讨论的其他器件:MSP430WARE

工具/软件:Code Composer Studio

您好!

我正在使用 CCS 版本:10.1.1.00004。 在我的项目中、我导入了 MSP430ware 驱动程序库。 所有操作都正常,但 我遇到了_never_executed()内在函数的问题:

#pragma vector=Port1_vector

_interrupt void push_buttonS2_ISR (void)

 switch (__evo_in_range (P1IV、0x10))
 {
   情况0x02:中断;//引脚0
   案例0x04://引脚1
   GPIO_toggleOutputOnPin (LED_GREEN);
   GPIO_clearInterrupt (LED_GREEN);
   中断;
   情况0x06:中断;//引脚2
   案例0x08:中断;//引脚3
   情况0x0A:中断;//引脚4
   情况0x0C:中断;//引脚5
   情况0x0E:中断;//引脚6
   情况0x10:中断;//引脚7
   默认值:_never_executed();
 }

错误消息为: 无法解析函数'_never_executed()

我仔细检查了包含选项、但找不到解决方案

有人可以帮助我吗?

非常感谢