/* Set the timer TOP/PERIOD value and buffer value. 
When using MFRQ, the top values are defined by the CC0 and CCB0, the PER and PERB values are ignored, so  */
enum status_code tcc_set_double_buffer_top_values(const struct tcc_module *const module_inst, const uint32_t top_value, const uint32_t top_buffer_value)
/* Set the timer TOP/PERIOD value and buffer value. 
When using MFRQ, the top values are defined by the CC0 and CCB0, the PER and PERB values are ignored, so  */
enum status_code tcc_set_double_buffer_top_values(const struct tcc_module *const module_inst, const uint32_t top_value, const uint32_t top_buffer_value)
{
	Assert(module_inst);
	enum status_code status;
	status = _tcc_set_top_value(module_inst, top_value, false);
	if (status != STATUS_OK) {
		return status;
	}
	return _tcc_set_top_value(module_inst, top_buffer_value, true);
}