Microchip® Advanced Software Framework

ac_config Struct Reference

Analog Comparator module configuration structure.

Configuration structure for a comparator channel, to configure the input and output settings of the comparator.

#include <ac.h>

Data Fields

enum gclk_generator ana_source_generator
 Analog source generator for AC GCLK. More...
 
enum gclk_generator dig_source_generator
 Digital source generator for AC GCLK. More...
 
bool run_in_standby [AC_PAIRS]
 If true, the comparator pairs will continue to sample during sleep mode when triggered. More...
 

enum gclk_generator ac_config::ana_source_generator

Analog source generator for AC GCLK.

Referenced by ac_get_config_defaults().

enum gclk_generator ac_config::dig_source_generator

Digital source generator for AC GCLK.

Referenced by ac_get_config_defaults().

bool ac_config::run_in_standby[AC_PAIRS]

If true, the comparator pairs will continue to sample during sleep mode when triggered.

Referenced by ac_get_config_defaults().