/* Enables or disables the selected ADC automatic injected group conversion after regular one.  */
void ADC_EnableAutoInjectedConv(ADC_Module *ADCx, FunctionalState Cmd)
/* Enables or disables the selected ADC automatic injected group conversion after regular one.  */
void ADC_EnableAutoInjectedConv(ADC_Module *ADCx, FunctionalState Cmd)
{
    assert_param(IsAdcModule(ADCx));
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        ADCx->CTRL1 |= CR1_JAUTO_Set;
    }
    else
    {
        ADCx->CTRL1 &= CR1_JAUTO_Reset;
    }
}