PIC16C642-04/SO Microchip Technology, PIC16C642-04/SO Datasheet - Page 33

IC MCU OTP 4KX14 COMP 28SOIC

PIC16C642-04/SO

Manufacturer Part Number
PIC16C642-04/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C642-04/SO

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
Controller Family/series
PIC16C
No. Of I/o's
22
Ram Memory Size
176Byte
Cpu Speed
4MHz
No. Of Timers
1
Processor Series
PIC16C
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
33
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
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
EXAMPLE 5-2:
CLRF
BSF
MOVLW
MOVWF
TABLE 5-3:
TABLE 5-4:
RB0/INT
RB1
RB2
RB3
RB4
RB5
RB6
RB7
Legend: ST = Schmitt Trigger input, TTL = TTL input
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt.
Address Name
06h
86h
81h
Legend: x = unknown, u = unchanged, shaded cells are not used by PORTB.
1996 Microchip Technology Inc.
Name
2: This buffer is a Schmitt Trigger input when used in serial programming mode.
PORTB
STATUS, RP0
0xCF
TRISB
PORTB
TRISB
OPTION
Bit #
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
PORTB FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
INITIALIZING PORTB
TRISB7
RBPU
Bit 7
RB7
; Initialize PORTB by
; clearing output
; data latches
; Select Bank 1
; Value used to
; initialize data
; direction
; Set RB<3:0> as inputs
; RB<5:4> as outputs
; RB<7:6> as inputs
Buffer Type
TTL/ST
TTL/ST
TTL/ST
INTEDG
TRISB6
TTL
TTL
TTL
TTL
TTL
Bit 6
RB6
(1)
(2)
(2)
TRISB5 TRISB4 TRISB3 TRISB2 TRISB1 TRISB0 1111 1111
T0CS
Bit 5
RB5
Input/output or external interrupt input. Internal software programmable
weak pull-up.
Input/output pin. Internal software programmable weak pull-up.
Input/output pin. Internal software programmable weak pull-up.
Input/output pin. Internal software programmable weak pull-up.
Input/output pin (with interrupt on change). Internal software programmable
weak pull-up.
Input/output pin (with interrupt on change). Internal software programmable
weak pull-up.
Input/output pin (with interrupt on change). Internal software programmable
weak pull-up. Serial programming clock pin.
Input/output pin (with interrupt on change). Internal software programmable
weak pull-up. Serial programming data pin.
T0SE
Bit 4
RB4
Preliminary
PIC16C64X & PIC16C66X
Bit 3
RB3
PSA
Bit 2
RB2
PS2
Function
Bit 1
RB1
PS1
Bit 0
RB0
PS0
xxxx xxxx
1111 1111
Value on:
POR,
BOR
DS30559A-page 33
uuuu uuuu
1111 1111
1111 1111
Value on
all other
resets

Related parts for PIC16C642-04/SO