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.
自己建了一个文件dsp2833x_adc_defines.h用来设置adc模块,并声明adc模块的设置函数AdcSetup()
在dsp2833x_adc_defines.h中定义了宏#define SEQ_NUM 5
为什么在DSP2833x_Adc.c中使用SEQ_NUM按F3的时候,总是不能定位到dsp2833x_adc_defines.h,
而且说could not find the symbol "SEQ_NUM" in index
已将dsp2833x_adc_defines.h包含在DSP2833x_Examples.h中,并且DSP2833x_Adc.c已经包含了DSP2833x_Examples.h
AdcSetup()
{
……
AdcRegs.ADCMAXCONV.bit.MAX_CONV1=SEQ_NUM;
……
}