PIC16F676 Microchip Technology Inc., PIC16F676 Datasheet - Page 40

no-image

PIC16F676

Manufacturer Part Number
PIC16F676
Description
14-pin, Flash-based 8-bit Cmos Microcontroller
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F676
Manufacturer:
台湾明智类比
Quantity:
20 000
Part Number:
PIC16F676-1/SL
Quantity:
980
Part Number:
PIC16F676-1/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F676-E/SL
Manufacturer:
MICROCHIP
Quantity:
2 500
Part Number:
PIC16F676-E/SL
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16F676-E/ST
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16F676-E/ST
Manufacturer:
EtronTech
Quantity:
101
Part Number:
PIC16F676-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F676-I/P
0
Company:
Part Number:
PIC16F676-I/P
Quantity:
3 000
Company:
Part Number:
PIC16F676-I/P
Quantity:
6 000
Part Number:
PIC16F676-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F676-I/SL
0
Part Number:
PIC16F676-I/ST
Manufacturer:
MICROCHIP
Quantity:
1
Part Number:
PIC16F676-I/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F630/676
6.1
A single comparator is shown in Figure 6-1, along with
the relationship between the analog input levels and
the digital output. When the analog input at V
than the analog input V
is a digital low level. When the analog input at V
greater than the analog input V
comparator is a digital high level. The shaded areas of
the output of the comparator in Figure 6-1 represent
the uncertainty due to input offsets and response time.
The polarity of the comparator output can be inverted
by setting the CINV bit (CMCON<4>). Clearing CINV
results in a non-inverted output. A complete table
showing the output state versus input conditions and
the polarity bit is shown in Table 6-1.
DS40039E-page 38
Note:
Comparator Operation
To use CIN+ and CIN- pins as analog
inputs, the appropriate bits must be
programmed in the CMCON (19h) register.
IN
-, the output of the comparator
IN
-, the output of the
IN
+ is less
IN
+ is
TABLE 6-1:
FIGURE 6-1:
Output
V
V
Note:
IN
IN
Input Conditions
-
+
V
V
V
V
V
V
IN
IN
IN
IN
IN
IN
-
+
- > V
- < V
- > V
- < V
CINV bit (CMCON<4>) is clear.
IN
IN
IN
IN
+
+
+
+
OUTPUT STATE VS. INPUT
CONDITIONS
+
SINGLE COMPARATOR
© 2007 Microchip Technology Inc.
CINV
0
0
1
1
Output
COUT
0
1
1
0

Related parts for PIC16F676