我用codewarrior V8.2 for 56800E,其中用到函数,函数定义在单独的头文件里,但是在中断事件events里调用,显示几个函数没有定义!应该如何处理??

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

我用codewarrior V8.2 for 56800E,其中用到函数,函数定义在单独的头文件里,但是在中断事件events里调用,显示几个函数没有定义!应该如何处理??

543 次查看
liguohongliguoh
Contributor I

我用codewarrior V8.2 for 56800E,其中用到函数,函数定义在单独的头文件里,但是在中断事件events里调用,显示几个函数没有定义!应该如何处理??

标签 (1)
0 项奖励
回复
1 回复

440 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello liguohong,

Whether you have included the head file which defined your functions?  Usually we define the function entity in C file, and declare it as external function in head file. Then include the head file in the C file which calls the function.

Hope this helps! If not, please attach your CodeWarrior project. Thanks!

 

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复