/* Sets a TCC module compare value. 
If double buffering is enabled it always write to the buffer register. The value will then be updated immediately by calling tcc_force_double_buffer_update(), or be updated when the lock update bit is cleared and the UPDATE condition happen. */
enum status_code tcc_set_compare_value(const struct tcc_module *const module_inst, const enum tcc_match_capture_channel channel_index, const uint32_t compare)
/* Sets a TCC module compare value. 
If double buffering is enabled it always write to the buffer register. The value will then be updated immediately by calling tcc_force_double_buffer_update(), or be updated when the lock update bit is cleared and the UPDATE condition happen. */
enum status_code tcc_set_compare_value(const struct tcc_module *const module_inst, const enum tcc_match_capture_channel channel_index, const uint32_t compare)
{
	Assert(module_inst);
	return _tcc_set_compare_value(module_inst, channel_index, compare,
			module_inst->double_buffering_enabled);
}