/* Resets the DAC module. 
This function will reset the DAC module to its power on default values and disable it. */
void dac_reset(struct dac_module *const module_inst)
/* Resets the DAC module. 
This function will reset the DAC module to its power on default values and disable it. */
void dac_reset(struct dac_module *const module_inst)
{
	Assert(module_inst);
	Assert(module_inst->hw);
	Dac *const dac_module = module_inst->hw;
	while (dac_is_syncing(module_inst)) {
	}
	dac_module->CTRLA.reg |= DAC_CTRLA_SWRST;
}