21.6.2.15.2 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 21-47. Parameters
Data directionParameter nameDescription

[in]

channel

Generic Clock channel to configure

[in]

config

Configuration settings for the clock