/* Enables or disables the selected ADC automatic injected group conversion after regular one.  */
void ADC_AutoInjectedConvCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
/* Enables or disables the selected ADC automatic injected group conversion after regular one.  */
void ADC_AutoInjectedConvCmd(ADC_TypeDef *ADCx, FunctionalState NewState)
{
  assert_param(IS_ADC_ALL_PERIPH(ADCx));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    ADCx->CFGR |= ADC_CFGR_JAUTO;
  }
  else
  {
    ADCx->CFGR &= ~ADC_CFGR_JAUTO;
  }
}