PIC16F676-I/ST Microchip Technology Inc., PIC16F676-I/ST Datasheet - Page 40

no-image

PIC16F676-I/ST

Manufacturer Part Number
PIC16F676-I/ST
Description
14 PIN, 1.75 KB FLASH, 64 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F676-I/ST

Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin TSSO
Programmable Memory
1.75K Bytes
Ram Size
64 Bytes
Speed
20 MHz
Timers
1-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F676-I/ST
Manufacturer:
MICROCHIP
Quantity:
3 400
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.
DS40039C-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
 2003 Microchip Technology Inc.
CINV
0
0
1
1
Output
COUT
0
1
1
0

Related parts for PIC16F676-I/ST