ADC interrupt problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ADC interrupt problem

跳至解决方案
2,631 次查看
vitormayer
Contributor II

I am using MQX lite 1.1.1 and when I try to use ADC_LDD with interrupt i got the message:
Description Resource Path Location Type
undefined reference to `AD1_OnMeasurementComplete' AD1.c /my_project/Generated_Code line 399 C/C++ Problem

If I try use another timer interrupt, and I got the same message.

I  had all #include declared.


Any one could help me?

0 项奖励
回复
1 解答
2,532 次查看
vitormayer
Contributor II

I am using KDS3.0.0 with a custom board with processor Mk64f.

Thank you for your attention, But I find the problem.

It was when I generate the PEx code, the new part of code was created inside the another function, and it was generating the undefine reference.

thanks one more time.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,533 次查看
vitormayer
Contributor II

I am using KDS3.0.0 with a custom board with processor Mk64f.

Thank you for your attention, But I find the problem.

It was when I generate the PEx code, the new part of code was created inside the another function, and it was generating the undefine reference.

thanks one more time.

0 项奖励
回复
2,532 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Vitor:

Could you please provide more information for us to reproduce your issue? Which IDE you are using. Codewarrior 10.7 or KDS 3.2?   TWR-K64 board or other?

Regards

Daniel

0 项奖励
回复