ADC_ContinuousScanMode 并没有使用中断读取 ADC,为什么要 clear the A/D interrupt flag for safe????{:soso_e180:}
/* clear the A/D interrupt flag for safe */
ADC->ADSR = ADC_ADSR_ADF_Msk;
/* start A/D conversion */
_ADC_START_CONVERT();
/* Wait conversion done */
_ADC_WAIT_CONVERSION_DONE();
/* Clear the ADC interrupt flag */
ADC->ADSR = ADC_ADSR_ADF_Msk;
|