(CMP) Comparator Module

Comparators are used to interface analog circuits to a digital circuit by comparing two analog voltages and providing a digital indication of their relative magnitudes. Comparators are very useful mixed-signal building blocks because they provide analog functionality independent of program execution. The PIC18(L)F65/66K40 devices have three comparators (C1/C2/C3).

The analog comparator module includes the following features: