PIC16F630-E/ST Microchip Technology, PIC16F630-E/ST Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F630-E/ST
Manufacturer Part Number
PIC16F630-E/ST
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TSSOP,14PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC12F629T-ISN.pdf
(24 pages)
3.PIC16F630-ISL.pdf
(132 pages)
4.PIC16F630-ISL.pdf
(2 pages)
5.PIC16F630-ISL.pdf
(10 pages)
Specifications of PIC16F630-E/ST
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
14-TSSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2010 Microchip Technology Inc.
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 TRISA register controls the data direction
of the comparator pins for each mode. If the
Comparator mode is changed, the comparator output
FIGURE 6-2:
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>)
RA1/CIN-
RA0/CIN+
RA2/COUT
RA1/CIN-
RA0/CIN+
RA2/COUT
RA1/CIN-
RA0/CIN+
RA2/COUT
RA1/CIN-
RA0/CIN+
RA2/COUT
Comparator Configuration
A
A
D
A
A
D
A
D
D
A
A
D
COMPARATOR I/O OPERATING MODES
From CV
REF
Module
Off (Read as ‘0’)
COUT
COUT
COUT
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
RA1/CIN-
RA0/CIN+
RA2/COUT
RA1/CIN-
RA0/CIN+
RA2/COUT
RA1/CIN-
RA0/CIN+
RA2/COUT
RA1/CIN-
RA0/CIN+
RA2/COUT
level may not be valid for a specified period of time.
Refer to the specifications in Section 12.0 “Electri-
cal Specifications”.
Note:
D
D
D
A
D
D
A
A
D
A
A
D
Comparator interrupts should be disabled
during a Comparator mode change. Other-
wise, a false interrupt may occur.
PIC16F630/676
CIS = 0
CIS = 1
CIS = 0
CIS = 1
From CV
From CV
From CV
REF
Module
REF
REF
Off (Read as ‘0’)
COUT
Module
DS40039F-page 41
Module
COUT
COUT