PIC16F628A-E/SS Microchip Technology, PIC16F628A-E/SS Datasheet - Page 63

IC MCU FLASH 2KX14 EEPROM 20SSOP

PIC16F628A-E/SS

Manufacturer Part Number
PIC16F628A-E/SS
Description
IC MCU FLASH 2KX14 EEPROM 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F628A-E/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
For Use With
I3DBF648 - BOARD DAUGHTER ICEPIC3AC162053 - HEADER INTERFACE ICD,ICD2 18DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
10.0
The
comparators. The inputs to the comparators are
multiplexed with the RA0 through RA3 pins. The on-chip
Voltage Reference (Section 11.0 “Voltage Reference
Module”) can also be an input to the comparators.
REGISTER 10-1:
© 2009 Microchip Technology Inc.
comparator
COMPARATOR MODULE
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
module
CMCON – COMPARATOR CONFIGURATION REGISTER (ADDRESS: 01Fh)
bit 7
C2OUT: Comparator 2 Output bit
When C2INV = 0:
1 = C2 V
0 = C2 V
When C2INV = 1:
1 = C2 V
0 = C2 V
C1OUT: Comparator 1 Output bit
When C1INV = 0:
1 = C1 V
0 = C1 V
When C1INV = 1:
1 = C1 V
0 = C1 V
C2INV: Comparator 2 Output Inversion bit
1 = C2 Output inverted
0 = C2 Output not inverted
C1INV: Comparator 1 Output Inversion bit
1 = C1 Output inverted
0 = C1 Output not inverted
CIS: Comparator Input Switch bit
When CM<2:0>: = 001
Then:
1 = C1 V
0 = C1 V
When CM<2:0> = 010
Then:
1 = C1 V
0 = C1 V
CM<2:0>: Comparator Mode bits
Figure 10-1 shows the comparator modes and CM<2:0> bit settings
Legend:
R = Readable bit
-n = Value at POR
C2OUT
R-0
C2 V
C2 V
contains
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
+ < C2 V
+ > C2 V
+ < C2 V
+ > C2 V
+ > C1 V
+ < C1 V
+ < C1 V
+ > C1 V
- connects to RA3
- connects to RA0
- connects to RA3
- connects to RA0
- connects to RA2
- connects to RA1
C1OUT
R-0
two
IN
IN
IN
IN
IN
IN
IN
IN
-
-
-
-
-
-
-
-
analog
C2INV
R/W-0
W = Writable bit
‘1’ = Bit is set
PIC16F627A/628A/648A
C1INV
R/W-0
The CMCON register, shown in Register 10-1, controls
the comparator input and output multiplexers. A block
diagram of the comparator is shown in Figure 10-1.
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
CIS
R/W-0
CM2
x = Bit is unknown
R/W-0
CM1
DS40044G-page 63
R/W-0
CM0
bit 0

Related parts for PIC16F628A-E/SS