TI中文支持网
TI专业的中文技术问题搜集分享网站

argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *"—–开发环境为ccs6.0

Description Resource Path Location Type
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 379 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 349 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 333 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 331 C/C++ Problem
declaration is not visible outside of function DSP2833x_GlobalPrototypes.h /Example_2833x_Sci_FFDLB_int/include line 182 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 323 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 325 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 327 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 329 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 314 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 316 C/C++ Problem
declaration is not visible outside of function DSP2833x_GlobalPrototypes.h /Example_2833x_Sci_FFDLB_int/include line 180 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 319 C/C++ Problem
declaration is not visible outside of function DSP2833x_GlobalPrototypes.h /Example_2833x_Sci_FFDLB_int/include line 181 C/C++ Problem
argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *" Example_2833x_Sci_FFDLB_int.c /Example_2833x_Sci_FFDLB_int line 321 C/C++ Problem
declaration is incompatible with "Uint16 I2CA_ReadData(struct I2CMSG *)" (declared at line 181 of "D:\workspace\SXD28335B_STU_examples\Example_2833x_Sci_FFDLB_int\include\DSP2833x_GlobalPrototypes.h") DSP2833x_I2C.c /Example_2833x_Sci_FFDLB_int line 95 C/C++ Problem
declaration is incompatible with "void WriteData(struct I2CMSG *, Uint16 *, Uint16, Uint16)" (declared at line 182 of "D:\workspace\SXD28335B_STU_examples\Example_2833x_Sci_FFDLB_int\include\DSP2833x_GlobalPrototypes.h") DSP2833x_I2C.c /Example_2833x_Sci_FFDLB_int line 141 C/C++ Problem
declaration is incompatible with "Uint16 I2CA_WriteData(struct I2CMSG *)" (declared at line 180 of "D:\workspace\SXD28335B_STU_examples\Example_2833x_Sci_FFDLB_int\include\DSP2833x_GlobalPrototypes.h") DSP2833x_I2C.c /Example_2833x_Sci_FFDLB_int line 52 C/C++ Problem

结构体struct I2CMSG申请在DSP2833x_I2c_defines.h里,结构体struct I2CMSG  I2cMsgOut1和struct I2CMSG I2cMsgIn1赋初值在Example_2833x_Sci_FFDLB_int.c文件里,

extern struct I2CMSG I2cMsgOut1;和extern struct I2CMSG I2cMsgIn1;在DSP2833x_GlobalPrototypes.h文件里。

工程为Example_2833x_Sci_FFDLB_int。workspace1.rar

Seven Han:请参考下您的另外一个帖子的回复。

赞(0)
未经允许不得转载:TI中文支持网 » argument of type "struct I2CMSG *" is incompatible with parameter of type "struct I2CMSG *"—–开发环境为ccs6.0
分享到: 更多 (0)