/* Enable the Continuous mode for the selected ADCx channels.  */
void ADC_ContinuousModeCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
/* Enable the Continuous mode for the selected ADCx channels.  */
void ADC_ContinuousModeCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
{
  assert_param(IS_ADC_ALL_PERIPH(ADCx));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
  {
    ADCx->CFGR1 |= (uint32_t)ADC_CFGR1_CONT;
  }
  else
  {
    ADCx->CFGR1 &= (uint32_t)(~ADC_CFGR1_CONT);
  }
}