28377D芯片ADC模块调试记录(1)
AdcaRegs.ADCCTL2.bit.PRESCALE = 6;设置ADC时钟为CPU时钟的几分频具体时序关系见芯片技术参考手册11.2.1章节AdcaRegs.ADCCTL1.bit.INTPULSEPOS = 1;将中断触发设于SOC后期AdcaRegs.ADCCTL1.bit.ADCPWDNZ = 1;打开ADC电源,之后需进行延时等待for(i = 0; i < 1...