PIC16F636-I/P Microchip Technology Inc., PIC16F636-I/P Datasheet - Page 65

no-image

PIC16F636-I/P

Manufacturer Part Number
PIC16F636-I/P
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F636-I/P

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 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
7.3
There are eight modes of operation for the comparators.
The CMCON0 register is used to select these modes.
Figure 7-3 and Figure 7-4 show the eight possible
modes. The TRISA and TRISC registers control the data
direction of the comparator output pins for each mode. 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”.
FIGURE 7-3:
© 2005 Microchip Technology Inc.
Note:
Comparator Reset (POR Default Value – Low Power)
CM<2:0> = 000
Comparator without Output
CM<2:0> = 010
Comparator with Output and Internal Reference
CM<2:0> = 011
Comparator with Output
CM<2:0> = 001
Legend: A = Analog Input, ports always read ‘0’
Note 1:
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
Comparator Configuration
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
D = Digital Input
Lowest power statement assures valid digital stats on GPO, GP1 and GP2.
A
A
A
A
A
D
A
A
COMPARATOR I/O OPERATING MODES FOR PIC12F635
From CV
REF
Module
Off (Read as ‘0’)
C1OUT
C1OUT
C1OUT
PIC12F635/PIC16F636/639
Preliminary
Comparator Off (Lowest Power)
CM<2:0> = 111
Comparator w/o Output and with Internal Reference
CM<2:0> = 100
Multiplexed Input with Internal Reference and Output
CM<2:0> = 101
Multiplexed Input with Internal Reference
CM<2:0> = 110
CIS = Comparator Input Switch (CMCON0<3>)
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
D
D
A
D
A
A
A
A
CIS = 0
CIS = 1
CIS = 0
CIS = 1
From CV
From CV
From CV
REF
(1)
Module
REF
REF
Off (Read as ‘0’)
C1OUT
Module
DS41232B-page 63
Module
C1OUT
C1OUT

Related parts for PIC16F636-I/P