/* 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->CR1 |= (uint32_t)ADC_CR1_JAUTO;
  }
  else
  {
    ADCx->CR1 &= (uint32_t)(~ADC_CR1_JAUTO);
  }
}