/* Enables or disables the specified DAC channel DMA request.  */
void DAC_DMACmd(uint32_t DAC_Channel, FunctionalState NewState)
/* Enables or disables the specified DAC channel DMA request.  */
void DAC_DMACmd(uint32_t DAC_Channel, FunctionalState NewState)
{
  assert_param(IS_DAC_CHANNEL(DAC_Channel));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    DAC->CR |= CR_DMAEN_Set << DAC_Channel;
  }
  else
  {
    DAC->CR &= ~(CR_DMAEN_Set << DAC_Channel);
  }
}