/* Enables or disables the specified DAC channel DMA request.  */
void DAC_DmaEnable(FunctionalState Cmd)
/* Enables or disables the specified DAC channel DMA request.  */
void DAC_DmaEnable(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        DAC->CTRL |= DAC_CTRL_DMAEN;
    }
    else
    {
        DAC->CTRL &= ~DAC_CTRL_DMAEN;
    }
}