21.6.2.15.1 Function system_gclk_chan_get_config_defaults()

Initializes a Generic Clock configuration structure to defaults.

void system_gclk_chan_get_config_defaults( struct system_gclk_chan_config *const config)

Initializes a given Generic Clock configuration structure to a set of known default values. This function should be called on all new instances of these configuration structures before being modified by the user application.

The default configuration is as follows:
  • Clock is sourced from the Generic Clock Generator channel 0

  • Clock configuration will not be write-locked when set

Table 21-46. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values