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.

unexpected error

Other Parts Discussed in Thread: MSP430F5529, MSP430F5229

i am using msp430f5529lp.I copied adc code from mspware and i am getting these errors inspite of intializing #include<msp430.h>. I dont know how to deal .please help.

"../main.c", line 7: error #20: identifier "ADC12CTL0" is undefined
"../main.c", line 7: error #20: identifier "ADC12ON" is undefined
"../main.c", line 7: error #20: identifier "ADC12SHT0_2" is undefined
"../main.c", line 8: error #20: identifier "ADC12CTL1" is undefined
"../main.c", line 8: error #20: identifier "ADC12SHP" is undefined
"../main.c", line 9: error #20: identifier "ADC12MCTL0" is undefined
"../main.c", line 9: error #20: identifier "ADC12SREF_2" is undefined
"../main.c", line 10: error #20: identifier "ADC12ENC" is undefined
"../main.c", line 14: error #20: identifier "ADC12SC" is undefined
"../main.c", line 15: error #20: identifier "ADC12IFG" is undefined
"../main.c", line 15: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
10 errors detected in the compilation of "../main.c".
gmake: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.

**Attention** This is a public forum