35.2.3 Comparator Output Polarity
Inverting the output of the comparator is functionally equivalent to swapping the comparator inputs. The polarity of the comparator output can be inverted by setting the POL bit. Clearing the POL bit results in a noninverted output. Table 35-1 shows the Output state versus Input conditions, including polarity control.
Input Condition | POL | OUT |
---|---|---|
CxVn > CxVp | 0 |
0 |
CxVn < CxVp | 0 |
1 |
CxVn > CxVp | 1 |
1 |
CxVn < CxVp | 1 |
0 |