PIC16LC642-04/SO Microchip Technology, PIC16LC642-04/SO Datasheet - Page 47
![IC MCU OTP 4KX14 COMP 28SOIC](/photos/6/59/65909/150-28-soic_sml.jpg)
PIC16LC642-04/SO
Manufacturer Part Number
PIC16LC642-04/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C642-04SO.pdf
(137 pages)
Specifications of PIC16LC642-04/SO
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
22
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
On-chip Adc
10 bit
Data Rom Size
176 B
Height
2.31 mm
Length
17.87 mm
Supply Voltage (max)
6 V
Supply Voltage (min)
3 V
Width
7.49 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
7.0
The
comparators. The inputs to the comparators are
multiplexed with pins RA0 through RA4. The on-chip
Voltage Reference (Section 8.0) can also be an input to
the comparators.
FIGURE 7-1:
1996 Microchip Technology Inc.
bit7
bit 7:
bit 6:
bit 5-4: Unimplemented: Read as '0'
bit 3:
bit 2-0: CM2:CM0 : Comparator mode
C2OUT
R-0
comparator
COMPARATOR MODULE
C2OUT : Comparator 2 output
1 = C2 V
0 = C2 V
C1OUT : Comparator 1 output
1 = C1 V
0 = C1 V
CIS : Comparator Input Switch
When CM2:CM0: = 001 :
Then:
1 = C1 V
0 = C1 V
When CM2:CM0 = 010 :
Then:
1 = C1 V
0 = C1 V
Figure 7-2 shows the comparator modes and CM2:CM0 bit settings.
C1OUT
C2 V
C2 V
R-0
CMCON REGISTER (ADDRESS 1Fh)
module
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
– connects to RA2
– connects to RA1
+ > C2 V
+ < C2 V
+ > C1 V
+ < C1 V
– connects to RA3
– connects to RA0
– connects to RA3
– connects to RA0
U-0
—
contains
This document was created with FrameMaker 4 0 4
IN
IN
IN
IN
–
–
–
–
U-0
—
two
R/W-0
CIS
analog
Preliminary
PIC16C64X & PIC16C66X
R/W-0
CM2
R/W-0
The CMCON register, shown in Figure 7-1, controls the
comparator input and output multiplexers. A block
diagram of the comparator is shown in Figure 7-2.
CM1
bit0
R/W-0
CM0
R =Readable bit
W =Writable bit
U =Unimplemented bit, read
as ‘0’
- n =Value at POR reset
DS30559A-page 47