Analog comparators can be configured through two status/control registers, Analog Comparator Control and Analog Comparator Status. The internal reference is configured through one control register, Analog Comparator Reference Voltage Control. Interrupt status and control are configured through three registers, Analog Comparator Masked Interrupt Status register, Analog Comparator Raw Interrupt Status register and Analog Comparator Interrupt Enable register. Typically, the comparator output is used internally to generate an interrupt as controlled by the ISEN bit in the ACCTL register. The output may also be used to drive an external pin, Co, or to generate an analog-to-digital converter (ADC) trigger.

