PIC16F684-I/SLG Microchip, PIC16F684-I/SLG Datasheet - Page 59
PIC16F684-I/SLG
Manufacturer Part Number
PIC16F684-I/SLG
Description
pic, flash, Microcontrollers, Microprocessors, Semiconductors and Actives, ic, mcu
Manufacturer
Microchip
Datasheet
1.PIC16F684IST.pdf
(164 pages)
- Current page: 59 of 164
- Download datasheet (3Mb)
8.3
There are eight modes of operation for the compara-
tors. The CMCON0 register is used to select these
modes. Figure 8-3 shows the eight possible modes.
FIGURE 8-3:
2004 Microchip Technology Inc.
Comparators Reset (POR Default Value)
CM<2:0> = 000
Two Independent Comparators
CM<2:0> = 100
Two Common Reference Comparators
CM<2:0> = 011
One Independent Comparator
CM<2:0> = 101
Legend: A = Analog Input, ports always read ‘0’
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
Comparator Configuration
D = Digital Input
A
A
A
A
A
A
A
A
A
D
A
A
D
D
A
A
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
COMPARATOR I/O OPERATING MODES
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
C1
C2
C1
C2
C1
C2
C1
C2
Off
Off
C1OUT
C2OUT
C1OUT
C2OUT
Off
C2OUT
(Read as ‘0’)
(Read as ‘0’)
(Read as ‘0’)
Preliminary
CIS (CMCON0<3>) is the Comparator Input Switch
RA2/C1OUT
RC4/C2OUT
Two Common Reference Comparators with Outputs
CM<2:0> = 110
Comparators Off (Lowest Power)
CM<2:0> = 111
Four Inputs Multiplexed to Two Comparators
CM<2:0> = 010
Three Inputs Multiplexed to Two Comparators
CM<2:0> = 001
RA1/AN1
RC1/AN5
RC0/AN4
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Section 15.0 “Electrical
Specifications”.
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
RA1/AN1
RA0/AN0
RC1/AN5
RC0/AN4
Note:
A
D
A
A
D
D
D
D
A
A
A
A
A
A
A
A
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
CIS = 0
CIS = 1
CIS = 0
CIS = 1
V
V
V
V
V
V
V
V
CIS = 0
CIS = 1
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
C1
C2
C1
C2
PIC16F684
V
V
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
IN
IN
-
+
-
+
-
+
-
+
From
C1OUT
C2OUT
Off
Off
C1
C2
C1
C2
DS41202C-page 57
CV
(Read as ‘0’)
(Read as ‘0’)
REF
C2OUT
C1OUT
C2OUT
C1OUT
Module
Related parts for PIC16F684-I/SLG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 16QFN
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14TSSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14TSSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC PIC MCU FLASH 2KX14 14TSSOP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,16PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: