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