PIC18F6310/6410/8310/8410
TABLE 1-3: PIC18F8310/8410 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number Pin Buffer
TQFP
Type Type
Description
PORTB is a bidirectional I/O port. PORTB can be software
programmed for internal weak pull-ups on all inputs.
RB0/INT0
RB0
INT0
58
I/O TTL
Digital I/O.
I
ST
External interrupt 0.
RB1/INT1
RB1
INT1
57
I/O TTL
Digital I/O.
I
ST
External interrupt 1.
RB2/INT2
RB2
INT2
56
I/O TTL
Digital I/O.
I
ST
External interrupt 2.
RB3/INT3/CCP2
RB3
INT3
CCP2(1)
55
I/O TTL
Digital I/O.
I
ST
External interrupt 3.
O Analog Capture 2 input/Compare 2 output/PWM 2 output.
RB4/KBI0
RB4
KBI0
54
I/O TTL
Digital I/O.
I
TTL
Interrupt-on-change pin.
RB5/KBI1
RB5
KBI1
53
I/O TTL
Digital I/O.
I
TTL
Interrupt-on-change pin.
RB6/KBI2/PGC
RB6
KBI2
PGC
52
I/O TTL
Digital I/O.
I
TTL
Interrupt-on-change pin.
I/O ST
In-Circuit Debugger and ICSP™ programming clock pin.
RB7/KBI3/PGD
RB7
KBI3
PGD
47
I/O TTL
Digital I/O.
I
TTL
Interrupt-on-change pin.
I/O ST
In-Circuit Debugger and ICSP programming data pin.
Legend:
TTL = TTL compatible input
ST = Schmitt Trigger input with CMOS levels
I = Input
P = Power
CMOS
Analog
O
OD
= CMOS compatible input or output
= Analog input
= Output
= Open-Drain (no P diode to VDD)
Note 1: Alternate assignment for CCP2 when configuration bit CCP2MX is cleared (all operating modes except
Microcontroller mode).
2: Default assignment for CCP2 in all operating modes (CCP2MX is set).
3: Alternate assignment for CCP2 when CCP2MX is cleared (Microcontroller mode only).
DS39635A-page 22
Preliminary
2004 Microchip Technology Inc.