21.6.2.2.1 Function system_clock_source_xosc32k_get_config_defaults()

Retrieve the default configuration for XOSC32K.

void system_clock_source_xosc32k_get_config_defaults( struct system_clock_source_xosc32k_config *const config)

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

  • Start-up time of 16384 external clock cycles

  • Automatic crystal gain control mode disabled

  • Frequency of 32.768KHz

  • 1KHz clock output disabled

  • 32KHz clock output enabled

  • Don't run in STANDBY sleep mode

  • Run only when requested by peripheral (on demand)

  • Don't lock registers after configuration has been written

Table 21-12. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to fill with default values