/* Initializes the ADCs peripherals according to the specified parameters in the ADC_CommonInitStruct.  */
void ADC_CommonInit(ADC_CommonInitTypeDef *ADC_CommonInitStruct)
/* Initializes the ADCs peripherals according to the specified parameters in the ADC_CommonInitStruct.  */
void ADC_CommonInit(ADC_CommonInitTypeDef *ADC_CommonInitStruct)
{
  uint32_t tmpreg = 0;
  assert_param(IS_ADC_PRESCALER(ADC_CommonInitStruct->ADC_Prescaler));
  tmpreg = ADC->CCR; 
  tmpreg &= CR_CLEAR_MASK;                
  tmpreg |= (uint32_t)(ADC_CommonInitStruct->ADC_Prescaler);
  ADC->CCR = tmpreg;
}