PIC12F675/ICD Microchip Technology, PIC12F675/ICD Datasheet - Page 39

no-image

PIC12F675/ICD

Manufacturer Part Number
PIC12F675/ICD
Description
IC MCU 1K FLASH DEVLP TOOL 14DIP
Manufacturer
Microchip Technology

Specifications of PIC12F675/ICD

Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
6.2
There are eight modes of operation for the comparator.
The CMCON register, shown in Register 6-1, is used to
select the mode. Figure 6-2 shows the eight possible
modes. The TRISIO register controls the data direction
of the comparator pins for each mode. If the
Comparator mode is changed, the comparator output
level may not be valid for a specified period of time.
Refer to the specifications in Section 12.0 “Electri-
cal Specifications”.
FIGURE 6-2:
 2010 Microchip Technology Inc.
Note:
Comparator Reset (POR Default Value - low power)
CM2:CM0 = 000
Comparator without Output
CM2:CM0 = 010
Comparator with Output and Internal Reference
CM2:CM0 = 011
Comparator with Output
CM2:CM0 = 001
A = Analog Input, ports always reads ‘0’
D = Digital Input
CIS = Comparator Input Switch (CMCON<3>)
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
Comparator Configuration
Comparator interrupts should be disabled
during a Comparator mode change. Other-
wise, a false interrupt may occur.
A
A
D
A
A
D
A
D
D
A
A
D
COMPARATOR I/O OPERATING MODES
From CV
REF
Module
Off (Read as ‘
COUT
COUT
COUT
0
’)
Comparator Off (Lowest power)
CM2:CM0 = 111
Comparator w/o Output and with Internal Reference
CM2:CM0 = 100
Multiplexed Input with Internal Reference and Output
CM2:CM0 = 101
Multiplexed Input with Internal Reference
CM2:CM0 = 110
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
D
D
D
D
A
D
D
A
A
A
A
D
PIC12F629/675
CIS =
CIS =
CIS =
CIS =
From CV
0
1
0
1
From CV
From CV
REF
Module
REF
REF
Off (Read as ‘
COUT
DS41190G-page 39
Module
Module
COUT
COUT
0
’)

Related parts for PIC12F675/ICD