34.1 Comparator Overview

A single comparator is shown in Figure 34-1 along with the relationship between the analog input levels and the digital output. When the analog voltage at VIN+ is less than the analog voltage at VIN-, the output of the comparator is a digital low level. When the analog voltage at VIN+ is greater than the analog voltage at VIN-, the output of the comparator is a digital high level.

Table 34-1. Available Comparators
Device C1 C2
PIC16(L)F18455
PIC16(L)F18456
Figure 34-1. Single Comparator
Note:
  1. The black areas of the output of the comparator represent the uncertainty due to input offsets and response time.
Figure 34-2. Comparator Module Simplified Block Diagram