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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,041 Views
liguohongliguoh
Contributor I

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

Labels (1)
0 Kudos
Reply
1 Reply

938 Views
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 Kudos
Reply