STM32F4的16通道ADC采集例程,注释清晰,/****************************************************************************PCLK2=HCLK/2下面选择的是2分频ADCCLK=PCLK2/8=HCLK/8=168/8=21MADC采样频率:SamplingTime+ConversionTime=480+12cycles=492cycConversionTime=21MHz/492cyc=42.6ksps.*****************************************************************************//*ADCCommon配置----------------------------------------------------------*/ADC_CommonInitStructure.ADC_Mode=ADC_Mode_Independent;ADC_CommonInitStructure.ADC_Prescaler=ADC_Prescaler_Div2;ADC_CommonInitStructure.ADC_DMAAccessMode=ADC_DMAAccessMode_Disabled;ADC_CommonInitStructure.ADC_TwoSamplingDelay=ADC_TwoSamplingDelay_5Cycles;ADC_CommonInit(&ADC;_CommonInitStructure);
1