/* Enables or disables the ADC DMA request after last transfer (Single-ADC mode)  */
void ADC_DMARequestModeConfig(ADC_TypeDef *ADCx, uint32_t ADC_DMARequestMode)
/* Enables or disables the ADC DMA request after last transfer (Single-ADC mode)  */
void ADC_DMARequestModeConfig(ADC_TypeDef *ADCx, uint32_t ADC_DMARequestMode)
{
  assert_param(IS_ADC_ALL_PERIPH(ADCx));
  ADCx->CFGR1 &= (uint32_t)~ADC_CFGR1_DMACFG;
  ADCx->CFGR1 |= (uint32_t)ADC_DMARequestMode;
}