/* Initializes config with predefined default values. 
This function will initialize a given Dualtimer configuration structure to a set of known default values. This function should be called on any new instance of the configuration structures before being modified by the user application. */
void dualtimer_get_config_defaults(struct dualtimer_config *config)
/* Initializes config with predefined default values. 
This function will initialize a given Dualtimer configuration structure to a set of known default values. This function should be called on any new instance of the configuration structures before being modified by the user application. */
void dualtimer_get_config_defaults(struct dualtimer_config *config)
{
	config->timer1.timer_enable = true;
	config->timer2.timer_enable = true;
	config->timer1.counter_mode = DUALTIMER_PERIODIC_MODE;
	config->timer2.counter_mode = DUALTIMER_PERIODIC_MODE;
	config->timer1.counter_size = DUALTIMER_COUNTER_SIZE_32BIT;
	config->timer2.counter_size = DUALTIMER_COUNTER_SIZE_32BIT;
	config->timer1.clock_prescaler = DUALTIMER_CLOCK_PRESCALER_DIV1;
	config->timer2.clock_prescaler = DUALTIMER_CLOCK_PRESCALER_DIV1;
	config->timer1.interrup_enable = true;
	config->timer2.interrup_enable = true;
	config->timer1.load_value = 0;
	config->timer2.load_value = 0;
	config->clock_source = DUALTIMER_CLK_INPUT_0;
}