PIC18F23K20-E/MLQTP MICROCHIP [Microchip Technology], PIC18F23K20-E/MLQTP Datasheet - Page 271

no-image

PIC18F23K20-E/MLQTP

Manufacturer Part Number
PIC18F23K20-E/MLQTP
Description
28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
20.0
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.
The comparators are very useful mixed signal building
blocks because they provide analog functionality
independent of the program execution. The Analog
Comparator module includes the following features:
• Independent comparator control
• Programmable input selection
• Comparator output is available internally/externally
• Programmable output polarity
• Interrupt-on-change
• Wake-up from Sleep
• Programmable Speed/Power optimization
• PWM shutdown
• Programmable and fixed voltage reference
20.1
A single comparator is shown in Figure 20-1 along with
the relationship between the analog input levels and
the digital output. When the analog voltage at V
less than the analog voltage at V
comparator is a digital low level. When the analog
voltage at V
V
© 2007 Microchip Technology Inc.
IN
-, the output of the comparator is a digital high level.
COMPARATOR MODULE
Comparator Overview
IN
+ is greater than the analog voltage at
IN
-, the output of the
Advance Information
IN
+ is
FIGURE 20-1:
PIC18F2XK20/4XK20
Output
Note:
V
V
V
V
IN
IN
IN
IN
+
-
-
+
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
+
SINGLE COMPARATOR
DS41303B-page 269
Output

Related parts for PIC18F23K20-E/MLQTP