/* Returns the injected channel most recently converted for the specified SDADC.  */
uint32_t SDADC_GetInjectedChannel(SDADC_TypeDef *SDADCx)
/* Returns the injected channel most recently converted for the specified SDADC.  */
uint32_t SDADC_GetInjectedChannel(SDADC_TypeDef *SDADCx)
{
  uint32_t temp = 0;
  assert_param(IS_SDADC_ALL_PERIPH(SDADCx));
  temp = (uint32_t)(SDADCx->JDATAR>>16);
  temp = (uint32_t) (((uint32_t)1<<temp) | (temp<<(uint32_t)16));
  return (uint32_t) (temp);
}