SLAZ098AA October 2012 – May 2021 CC430F6125
COMP Module
Functional
CBEX and CBOUTPOL bits do not invert comparator I/O
Setting the exchange bit, CBEX, does not interchange the comparator inputs. Similarly setting the output polarity bit, CBOUTPOL, does not invert the output of the comparator.
To obtain an inverted output from the comparator, invert the input signals to the comparator using the channel input selector bits, CBIPSEL_x and CBIMSEL_x. Make sure to use a MOV instruction so that the inputs are inverted simultaneously.