44.6.1 Principle of Operation
Each comparator has one positive input and one negative input. Each positive input may be chosen from a selection of analog input pins. Each negative input may be chosen from a selection of both analog input pins and internal inputs, such as a bandgap voltage reference.
The digital output from the comparator is '1' when the difference between the positive and the negative input voltage is positive, and '0' otherwise.
The individual comparators can be used independently (Normal mode) or paired to form a window comparison (Window mode).