/* Configures the SDADCx external trigger edge for injected channels conversion.  */
void SDADC_ExternalTrigInjectedConvEdgeConfig(SDADC_TypeDef *SDADCx, uint32_t SDADC_ExternalTrigInjecConvEdge)
/* Configures the SDADCx external trigger edge for injected channels conversion.  */
void SDADC_ExternalTrigInjectedConvEdgeConfig(SDADC_TypeDef *SDADCx, uint32_t SDADC_ExternalTrigInjecConvEdge)
{
  uint32_t tmpreg = 0;
  assert_param(IS_SDADC_ALL_PERIPH(SDADCx));
  assert_param(IS_SDADC_EXT_INJEC_TRIG_EDGE(SDADC_ExternalTrigInjecConvEdge));
  tmpreg = SDADCx->CR2;
  tmpreg &= (uint32_t) (~SDADC_CR2_JEXTEN);
  tmpreg |= SDADC_ExternalTrigInjecConvEdge;
  SDADCx->CR2 = tmpreg;
}