21.6.2.1.1 Function system_clock_source_xosc_get_config_defaults()

Retrieve the default configuration for XOSC.

void system_clock_source_xosc_get_config_defaults( struct system_clock_source_xosc_config *const config)

Fills a configuration structure with the default configuration for an external oscillator module:
  • External Crystal

  • Start-up time of 16384 external clock cycles

  • Automatic crystal gain control mode enabled

  • Frequency of 12MHz

  • Don't run in STANDBY sleep mode

  • Run only when requested by peripheral (on demand)

Table 21-10. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to fill with default values