38.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 selection
- Timer1 Output Synchronization
The CMxCON1 register contains Control and Status bits for the following:
- Comparator status
- Speed/Power mode selection
- Interrupt on Positive/Negative Edge enables
The CMxPCH and CMxNCH registers are used to select the positive and negative input channels, respectively.