Microchip® Advanced Software Framework

ac_config Struct Reference

Analog comparator channel configuration struct.

#include <ac.h>

Data Fields

uint8_t acctrl
 Comparator control register. More...
 
uint8_t acmuxctrl
 Comparator mux control register. More...
 
uint8_t ctrlb
 Control register B register. More...
 
uint8_t winctrl
 Window mode control register. More...
 

uint8_t ac_config::acctrl
uint8_t ac_config::acmuxctrl

Comparator mux control register.

Referenced by ac_read_config(), ac_set_negative_reference(), ac_set_positive_reference(), and ac_write_config().

uint8_t ac_config::ctrlb

Control register B register.

Referenced by ac_read_config(), ac_set_voltage_scaler(), and ac_write_config().

uint8_t ac_config::winctrl