/* Configure the internal OSC8M oscillator clock source. 
Configures the 8MHz (nominal) internal RC oscillator with the given configuration settings. */
void system_clock_source_osc8m_set_config(struct system_clock_source_osc8m_config *const config)
/* Configure the internal OSC8M oscillator clock source. 
Configures the 8MHz (nominal) internal RC oscillator with the given configuration settings. */
void system_clock_source_osc8m_set_config(struct system_clock_source_osc8m_config *const config)
{
	SYSCTRL_OSC8M_Type temp = SYSCTRL->OSC8M;
	temp.bit.PRESC    = config->prescaler;
	temp.bit.ONDEMAND = config->on_demand;
	temp.bit.RUNSTDBY = config->run_in_standby;
	SYSCTRL->OSC8M = temp;
}