PIC12F609-H/MD MICROCHIP [Microchip Technology], PIC12F609-H/MD Datasheet - Page 67
![no-image](/images/no-image-200.jpg)
PIC12F609-H/MD
Manufacturer Part Number
PIC12F609-H/MD
Description
8-Pin, Flash-Based 8-Bit CMOS Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC12F609-HMD.pdf
(212 pages)
- Current page: 67 of 212
- Download datasheet (2Mb)
9.0
The comparator can be used to interface analog
circuits to a digital circuit by comparing two analog
voltages and providing a digital indication of their
relative magnitudes. The comparator is a very useful
mixed signal building block because it provides analog
functionality independent of the program execution.
The Analog Comparator module includes the following
features:
• Programmable input section
• Comparator output is available internally/externally
• Programmable output polarity
• Interrupt-on-change
• Wake-up from Sleep
• PWM shutdown
• Timer1 gate (count enable)
• Output synchronization to Timer1 clock input
• Programmable voltage reference
• User-enable Comparator Hysteresis
9.1
The comparator is shown in Figure 9-1 along with the
relationship between the analog input levels and the
digital output. When the analog voltage at V
FIGURE 9-2:
2010 Microchip Technology Inc.
FixedRef
CV
CMV
COMPARATOR MODULE
REF
Comparator Overview
REN
GP1/CIN0-
GP4/CIN1-
GP0/CIN+
0
1
MUX
CMCH
COMPARATOR SIMPLIFIED BLOCK DIAGRAM
CMV
REF
Note 1:
CMR
PIC12F609/615/617/12HV609/615
0
1
0
1
MUX
MUX
2:
3:
4:
When CMON = 0, the comparator will produce a ‘0’ output to the XOR Gate.
Q1 and Q3 are phases of the four-phase system clock (F
Q1 is held high during Sleep mode.
Output shown for reference only. See I/O port pin diagram for more details.
CMV
CMV
IN
+ is less
IN
IN
+
-
CMON
CMPOL
(1)
From Timer1
than the analog voltage at V
comparator is a digital low level. When the analog
voltage at V
V
FIGURE 9-1:SINGLE COMPARATOR
Clock
Q3*RD_CMCON0
IN
Output
Note:
-, the output of the comparator is a digital high level.
Q1
V
V
V
V
IN
IN
IN
IN
D
+
-
-
+
D
EN
Reset
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
IN
Q
+ is greater than the analog voltage at
Q
CMSYNC
D
EN
CMPOL
CL
0
1
MUX
Q
+
–
To PWM Auto-Shutdown
OSC
).
SYNCCMOUT
To Timer1 Gate
RD_CMCON0
IN
-, the output of the
CMOE
DS41302D-page 67
Set CMIF
Data Bus
Output
COUT
To
(4)
Related parts for PIC12F609-H/MD
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC12F609-I/SN](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 8SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-E/MD](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 DFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-I/PQTP](/images/no-image3.png)
Part Number:
Description:
8-Pin Flash-Based, 8-Bit CMOS Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC12F609-I/MS](/photos/6/59/65932/mfg_150_c04-111_ms_8-msop_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 8MSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 8DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-I/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 8-DFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-E/P](/photos/16/0/160065/8-pdip-angled-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-E/SN](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 SOIC 3.90mm (.150") TUB
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-E/MF](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 DFN 3x3mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-E/MS](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 MSOP 3x3mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F609-I/MD](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.75KB Flash, 64B RAM, 6 I/O, 8MHz Internal Oscillator 8 DFN 4x4mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F1840-I/P](/photos/16/3/160349/pdip8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI
Manufacturer:
Microchip Technology
Datasheet:
![PIC12LF1840-I/MF](/photos/16/0/160077/dfn8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
![PIC12F1840-I/MF](/photos/16/0/160077/dfn8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 DFN
Manufacturer:
Microchip Technology
![PIC12F1840-I/SN](/photos/16/3/160347/soic8_tmb.jpg)
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 SOI
Manufacturer:
Microchip Technology