KEA 128 I2C Header File

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

KEA 128 I2C Header File

1,247 次查看
benvozza
Contributor I

Hi,

I'm trying to use the header file for the kea128 I2C driver, but am getting the error "I2C Type has no member named A, C1 cannot be resolved" on every line in the header file "pI2Cx->C1 |= I2C_C1_ TX_MASK;"


Any suggestions on possible fixes?


Thanks

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

1,053 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Ben Vozza,

Can you let me know where you got the driver header file? If possible please add it as an attachment in your response.

Also, what IDE are you using (IAR, Keil, KDS, CW, S32DS)?

Typically such kind of driver relies on the syntax of the device header file, and there might be differences in the header files provided with different IDEs, leading to those errors. However latest NXP IDE platforms (KDS, S32DS) are using CMSIS compliant header files.

Regards!

Jorge Gonzalez

0 项奖励
回复