S32K312 I2C SyncTransmit example

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

S32K312 I2C SyncTransmit example

1,764 次查看
kjy106906
Contributor IV

I find I2C example only about I2c_AsyncTransmit. (SW32K3_RTD_4.4_2.0.0, I2c_TS_T40D34M20I0R0)

Is there an example about I2c_SyncTransmit?

 

Thank you

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

1,751 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

There is no such example.

But the I2c_AsyncTransmit() function can be replace with the I2c_SyncTransmit() function.

Then, there is no need for the I2c_GetStatus() while loop.

 

Regards,

Daniel

 

 

0 项奖励
回复