30.3.2 Operation

The digital output of the comparator is ‘1’ when the positive input voltage is greater than the negative input voltage and ‘0’ otherwise. The output is available through a logic XOR gate, allowing inversion of the output when the Invert Comparator Output (INVERT) bit in the Control B (ACn.CTRLB) register is ‘1’.