/* Configure the ADC to either be clocked by the asynchronous clock(which is independent, the dedicated 14MHz clock) or the synchronous clock derived from the APB clock of the ADC bus interface divided by 2 or 4.  */
void ADC_ClockModeConfig(ADC_TypeDef *ADCx, uint32_t ADC_ClockMode)
/* Configure the ADC to either be clocked by the asynchronous clock(which is independent, the dedicated 14MHz clock) or the synchronous clock derived from the APB clock of the ADC bus interface divided by 2 or 4.  */
void ADC_ClockModeConfig(ADC_TypeDef *ADCx, uint32_t ADC_ClockMode)
{
    assert_param(IS_ADC_ALL_PERIPH(ADCx));
    assert_param(IS_ADC_CLOCKMODE(ADC_ClockMode));
    ADCx->CFGR2 = (uint32_t)ADC_ClockMode;
}