/* Configures the ADCx external trigger for injected channels conversion.  */
void ADC_ConfigExternalTrigInjectedConv(ADC_Module *ADCx, uint32_t ADC_ExternalTrigInjecConv)
/* Configures the ADCx external trigger for injected channels conversion.  */
void ADC_ConfigExternalTrigInjectedConv(ADC_Module *ADCx, uint32_t ADC_ExternalTrigInjecConv)
{
    uint32_t tmpregister = 0;
    assert_param(IsAdcModule(ADCx));
    assert_param(IsAdcExtInjTrig(ADC_ExternalTrigInjecConv));
    tmpregister = ADCx->CTRL2;
    tmpregister &= CTRL2_INJ_EXT_SEL_RESET;
    tmpregister |= ADC_ExternalTrigInjecConv;
    ADCx->CTRL2 = tmpregister;
}