toggle dac on arduino due

I need assistance figuring out how to disable the dac0 and dac1 pins on the arduino due. I want to be able to turn on and off the dac as needed for a project. I have been enabling the pins by using pinmode(dac#, output). any help would be great!

I don't see why you would want to periodically turn on and off your DACs ???

Anyway, the command lines are:

DACC->DACC_CHER = DACC_CHER_CH0 | DACC_CHER_CH1; // Enable DACs 0 and 1

DACC->DACC_CHDR = DACC_CHDR_CH0 | DACC_CHDR_CH1; // Disable DACs 0 and 1