33.6 Comparator Positive Input Selection
Configuring the PCH
bits in the CMxPCH register direct an internal voltage reference or an analog pin to the
noninverting input of the comparator:
- CxINy+ analog pin
- DAC output
- Fixed Voltage Reference (FVR)
Important: To use CxINy+ pins as analog input, the
appropriate bits must be set in the ANSEL register and the corresponding TRIS bits must
also be set to disable the output drivers.
Any time the comparator is disabled (CxEN = 0
), all comparator inputs are disabled.