PIC18F-LF1XK50 MICROCHIP [Microchip Technology], PIC18F-LF1XK50 Datasheet - Page 223

no-image

PIC18F-LF1XK50

Manufacturer Part Number
PIC18F-LF1XK50
Description
20-Pin USB Flash Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
18.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
18.1
A single comparator is shown in
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
 2010 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
Figure 18-1
IN
-, the output of the
along with
IN
+ is
Preliminary
FIGURE 18-1:
Output
Note:
V
V
V
V
IN
IN
IN
IN
PIC18F/LF1XK50
+
-
-
+
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
+
SINGLE COMPARATOR
DS41350E-page 223
Output

Related parts for PIC18F-LF1XK50