Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I am new to embedded , i have coded a program for ADC using tms320f28335 while developing i could find some issues like are the registers have to be initialized using "union or struct" and the header file has a desired variable for it , but when i utilize the variable i get an error such as
Description Resource Path Location Type
#148 declaration is incompatible with "volatile struct ADC_REGS AdcRegs" (declared at line 273 of "..\DSP2833x_Adc.h") main.c /1 line 3 C/C++ Problem
can someone clarify it, and again by declaring some other variable for the struct i could execute the program my question is why the variable in the header file doesn't works?

