/* Enables a Generic Clock that was previously configured. 
Starts the clock generation of a Generic Clock that was previously configured via a call to  */
void system_gclk_chan_enable(const uint8_t channel)
/* Enables a Generic Clock that was previously configured. 
Starts the clock generation of a Generic Clock that was previously configured via a call to  */
void system_gclk_chan_enable(const uint8_t channel)
{
	system_interrupt_enter_critical_section();
	*((uint8_t*)&GCLK->CLKCTRL.reg) = channel;
	GCLK->CLKCTRL.reg |= GCLK_CLKCTRL_CLKEN;
	system_interrupt_leave_critical_section();
}