/* Retrieves the status of DAC channel end of conversion. 
Checks if the conversion is completed or not and returns boolean flag of status. */
bool dac_chan_is_end_of_conversion(struct dac_module *const module_inst, enum dac_channel channel)
/* Retrieves the status of DAC channel end of conversion. 
Checks if the conversion is completed or not and returns boolean flag of status. */
bool dac_chan_is_end_of_conversion(struct dac_module *const module_inst, enum dac_channel channel)
{
	Assert(module_inst);
	Assert(module_inst->hw);
	Dac *const dac_module = module_inst->hw;
	if(dac_module->STATUS.reg & DAC_STATUS_EOC(channel + 1)) {
		return true;
	} else {
		return false;
	}
}