21.6.2.14.1 Function system_gclk_gen_get_config_defaults()

Initializes a Generic Clock Generator configuration structure to defaults.

void system_gclk_gen_get_config_defaults( struct system_gclk_gen_config *const config)

Initializes a given Generic Clock Generator 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:
  • Clock is generated undivided from the source frequency

  • Clock generator output is low when the generator is disabled

  • The input clock is sourced from input clock channel 0

  • Clock will be disabled during sleep

  • The clock output will not be routed to a physical GPIO pin

Table 21-40. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values