/* Disables callback. 
Disables the callback function registered by the  */
void tcc_disable_callback(struct tcc_module *const module, const enum tcc_callback callback_type)
/* Disables callback. 
Disables the callback function registered by the  */
void tcc_disable_callback(struct tcc_module *const module, const enum tcc_callback callback_type)
{
	Assert(module);
	Assert(module->hw);
	system_interrupt_disable(_tcc_interrupt_get_interrupt_vector(
			_tcc_get_inst_index(module->hw)));
	module->enable_callback_mask &= ~_tcc_intflag[callback_type];
	module->hw->INTENCLR.reg = _tcc_intflag[callback_type];
}