7.3.1 Function ac_ch_get_config_defaults()

Initializes an ACIFC channel configuration structure to default values.

void ac_ch_get_config_defaults( struct ac_ch_config *const cfg)

Note: This function should be called to prepare all new instances of ACIFC channel configuration structures before they are further modified by the user application.
The default configuration is as follows:
  • Hysteresis voltage = 0mV

  • ACIFC is disabled between measurements

  • Fast mode is disabled

  • No output peripheral event when ACOUT is zero or one

  • Negative input from the external pin

  • User triggered single measurement mode

  • Interrupt enabled when the comparison is done

Table 7-5. Parameters
Data directionParameter nameDescription

[out]

cfg

ACIFC channel configuration structure pointer