/* Set Dualtimer module timer1/timer2 enable. 
Enable the Dualtimer module timer1/timer2 */
void dualtimer_enable(enum dualtimer_timer timer)
/* Set Dualtimer module timer1/timer2 enable. 
Enable the Dualtimer module timer1/timer2 */
void dualtimer_enable(enum dualtimer_timer timer)
{
	if (timer == DUALTIMER_TIMER1) {
		DUALTIMER0->TIMER1CONTROL.reg |= DUALTIMER_TIMER1CONTROL_TIMER_ENABLE;
	} else {
		DUALTIMER0->TIMER2CONTROL.reg |= DUALTIMER_TIMER2CONTROL_TIMER_ENABLE;
	}
}