undefined reference to lpi2c1_MasterCallback0

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

undefined reference to lpi2c1_MasterCallback0

2,937 次查看
gordy
Contributor II

Hello,

   Some problems exist when i use S32K144 lPI2C .As below,is there any problem with my project,how can i solve this,thanks.

pastedImage_1.png

0 项奖励
回复
1 回复

2,767 次查看
AlinaB
NXP Employee
NXP Employee

Hello,

You have to define the lpi2c1_MasterCallback0 function. It should be something like this:

void lpi2c1_MasterCallback0(uint32_t instance, lpi2c_master_event_t masterEvent, void *userData)
{

       /* Add your code... */
}

Regards, 

Alina