/* DAC Channel DMA Disable. 
Disable a digital to analog converter channel DMA mode. */
void dac_dma_disable(data_channel dac_channel)
/* DAC Channel DMA Disable. 
Disable a digital to analog converter channel DMA mode. */
void dac_dma_disable(data_channel dac_channel)
{
	switch (dac_channel) {
	case CHANNEL_1:
		DAC_CR &= ~DAC_CR_DMAEN1;
		break;
	case CHANNEL_2:
		DAC_CR &= ~DAC_CR_DMAEN2;
		break;
	case CHANNEL_D:
		DAC_CR &= ~(DAC_CR_DMAEN1 | DAC_CR_DMAEN2);
		break;
	}
}