31.3.2.1 Normal Operation

The output of the comparator is ‘1’ when the difference between the positive and negative input voltages is positive, and ‘0’ otherwise. This output is available on the output pin (OUT) through a logic XOR gate, which allows the inversion of the OUT pin when the INVERT bit in the MUX Control (ACn.MUXCTRL) register is ‘1’.

To avoid random output and to set a specific level on the OUT pin during the ACn initialization, the INITVAL bit in the same register is used.