7.3.1.2 Function freqm_get_config_defaults()

Initializes all members of a FREQM configuration structure to safe defaults.

void freqm_get_config_defaults( struct freqm_config *const config)

Initializes all members of a given Frequency Meter configuration structure to safe 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:
  • Measurement clock source is GCLK0

  • Reference clock source is GCLK1

  • Frequency Meter Reference Clock Cycles 127

Table 7-4. Parameters
Data directionParameter nameDescription

[in]

config

Configuration structure to initialize to default values