This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28335 I2C程序中结构体变量调用问题,



如下图是28335 I2C例程主函数中定义的结构体变量,现在我需要在别的xx.C中调用这个结构体变量,直接将这一部分复制到xx.c中,包含了头文件以后编译报错,提示重复定义,请问我需要怎样编写才能在别的.c中调用这个结构体变量。希望得到回复,万分感谢!