1.6.4.1.4 Function ac_get_config_defaults()

Initializes all members of an Analog Comparator configuration structure to safe defaults.

void ac_get_config_defaults( struct ac_config *const config)

Initializes all members of a given Analog Comparator 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:
  • All comparator pairs disabled during sleep mode (if has this feature)

  • Generator 0 is the default GCLK generator

Table 1-9. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values