32.2 Comparator Control

Each comparator has two control registers: CMxCON0 and CMxCON1.

The CMxCON0 register contains Control and Status bits for the following:

  • Enable
  • Output
  • Output polarity
  • Hysteresis enable
  • Timer1 output synchronization

The CMxCON1 register contains Control bits for the following:

  • Interrupt on positive/negative edge enables
  • Positive input channel selection
  • Negative input channel selection