undefined reference to lpi2c1_MasterCallback0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

undefined reference to lpi2c1_MasterCallback0

2,762件の閲覧回数
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,592件の閲覧回数
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