1.6.4.4.1 Function ac_win_get_config_defaults()

Initializes an Analog Comparator window configuration structure to defaults.

void ac_win_get_config_defaults( struct ac_win_config *const config)

Initializes a given Analog Comparator channel configuration structure to a set of known default values. This function should be called if window interrupts are needed and before ac_win_set_config().

The default configuration is as follows:
  • Channel interrupt set to occur when the measurement is above the window

Table 1-22. Parameters
Data directionParameter nameDescription

[out]

config

Window configuration structure to initialize to default values