English
Language : 

PIC18F6X2X Datasheet, PDF (15/386 Pages) Microchip Technology – 64/80-Pin High Performance, 64-Kbyte Enhanced FLASH Microcontrollers with A/D
PIC18F6X2X/8X2X
TABLE 1-2: PIC18F6X2X/8X2X PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
PIC18F6X2X PIC18F8X2X Type
Buffer
Type
Description
PORTB is a bi-directional I/O port. PORTB
can be software programmed for internal
weak pull-ups on all inputs.
RB0/INT0
RB0
INT0
48
58
I/O
TTL
Digital I/O.
I
ST
External interrupt 0.
RB1/INT1
RB1
INT1
47
57
I/O
TTL
Digital I/O.
I
ST
External interrupt 1.
RB2/INT2
RB2
INT2
46
56
I/O
TTL
Digital I/O.
I
ST
External interrupt 2.
RB3/INT3/CCP2/P2A
45
55
RB3
I/O
TTL
Digital I/O.
INT3
CCP2(1)
I/O
ST
I/O
ST
External interrupt 3.
Capture2 input, Compare2 output,
P2A(1)
O
—
PWM2 output.
Enhanced CCP2 output P2A.
RB4/KBI0
RB4
KBI0
44
54
I/O
TTL
Digital I/O.
I
ST
Interrupt-on-change pin.
RB5/KBI1/PGM
RB5
KBI1
PGM
43
53
I/O
TTL
Digital I/O.
I
ST
Interrupt-on-change pin.
I/O
ST
Low voltage ICSP programming
enable pin.
RB6/KBI2/PGC
RB6
KBI2
PGC
42
52
I/O
TTL
Digital I/O.
I
ST
Interrupt-on-change pin.
I/O
ST
In-Circuit Debugger and
ICSP programming clock.
RB7/KBI3/PGD
RB7
KBI3
PGD
37
47
I/O
TTL
Digital I/O.
I
ST
Interrupt-on-change pin.
I/O
ST
In-Circuit Debugger and
ICSP programming data.
Legend:
Note 1:
2:
3:
4:
5:
6:
7:
8:
TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
Analog = Analog input
I = Input
O
= Output
P = Power
OD = Open Drain (no P diode to VDD)
Alternate assignment for CCP2/P2A in PIC18F8X2X devices when CCP2MX (CONFIG3H<0>) is not set (all Program
Memory modes except Microcontroller).
Default assignment for CCP2/P2A when CCP2MX is set (all devices).
External memory interface functions are only available on PIC18F8X2X devices.
Default assignment for P1B/P1C/P3B/P3C for PIC18F8X2X devices when ECCPMX (CONFIG3H<1>) is set, and for all
PIC18F6X2X devices.
Alternate assignment for CCP2/P2A in PIC18F8X2X devices when CCP2MX is not set (Microcontroller mode).
PORTH and PORTJ (and their multiplexed functions) are only available on PIC18F8X2X devices.
Alternate assignment for P1B/P1C/P3B/P3C for PIC18F8X2X devices when ECCPMX (CONFIG3H<1>) is not set.
AVDD must be connected to a positive supply and AVSS must be connected to a ground reference for proper operation of
the part in User or ICSP modes. See parameter D001A for details.
 2003 Microchip Technology Inc.
Advance Information
DS39612A-page 13