/* Enables or disables the specified DAC channel DMA request.  */
void DAC_DMACmd(emDACCH_TypeDef channel, FunctionalState state)
/* Enables or disables the specified DAC channel DMA request.  */
void DAC_DMACmd(emDACCH_TypeDef channel, FunctionalState state)
{
    (state) ? (DAC->CR |= DAC_CR_DMAEN1 << channel) : (DAC->CR &= ~(DAC_CR_DMAEN1 << channel));
}