/* DAC Channel Trigger Disable. 
Disable a digital to analog converter channel external trigger. */
void dac_trigger_disable(data_channel dac_channel)
/* DAC Channel Trigger Disable. 
Disable a digital to analog converter channel external trigger. */
void dac_trigger_disable(data_channel dac_channel)
{
	switch (dac_channel) {
	case CHANNEL_1:
		DAC_CR &= ~DAC_CR_TEN1;
		break;
	case CHANNEL_2:
		DAC_CR &= ~DAC_CR_TEN2;
		break;
	case CHANNEL_D:
		DAC_CR &= ~(DAC_CR_TEN1 | DAC_CR_TEN2);
		break;
	}
}