34.7 Comparator Negative Input Selection

The NCH bits in the CMxNCH register direct an analog input pin and internal reference voltage or analog ground to the inverting input of the comparator:
  • CxINy- analog pin
  • 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.