主题中讨论的其他器件: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()
我仔细检查了包含选项、但找不到解决方案
有人可以帮助我吗?
非常感谢
