Function system_gclk_chan_set_config()

Writes a Generic Clock configuration to the hardware module.

void system_gclk_chan_set_config(
		const uint8_t channel,
		struct system_gclk_chan_config *const config)

Writes out a given configuration of a Generic Clock configuration to the hardware module. If the clock is currently running, it will be stopped.

Note: Once called the clock will not be running; to start the clock, call system_gclk_chan_enable() after configuring a clock channel.
Table 1. Parameters
Data direction Parameter name Description

[in]

channel

Generic Clock channel to configure

[in]

config

Configuration settings for the clock