Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PIC12F1840 View Datasheet(PDF) - Microchip Technology

Part Name
Description
MFG CO.
PIC12F1840
Microchip
Microchip Technology Microchip
'PIC12F1840' PDF : 410 Pages View PDF
19.0 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 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
19.1 Comparator Overview
A single comparator is shown in Figure 19-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.
The comparators available for this device are located in
Table 19-1.
TABLE 19-1: COMPARATOR AVAILABILITY
PER DEVICE
Device
C1
PIC12(L)F1840
PIC12(L)F1840
FIGURE 19-1:
SINGLE COMPARATOR
VIN+
+
VIN-
Output
VIN-
VIN+
Output
Note:
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
2011-2012 Microchip Technology Inc.
DS41441C-page 141
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]