
PIC18F2480/2580/4480/4580
DS39637D-page 16
2009 Microchip Technology Inc.
PORTB is a bidirectional I/O port. PORTB can be software
programmed for internal weak pull-ups on all inputs.
RB0/INT0/ AN10
RB0
INT0
AN10
21
18
I/O
I
TTL
ST
Analog
Digital I/O.
External Interrupt 0.
Analog Input 10.
RB1/INT1/AN8
RB1
INT1
AN8
22
19
I/O
I
TTL
ST
Analog
Digital I/O.
External Interrupt 1.
Analog Input 8.
RB2/INT2/CANTX
RB2
INT2
CANTX
23
20
I/O
I
O
TTL
ST
TTL
Digital I/O.
External Interrupt 2.
CAN bus TX.
RB3/CANRX
RB3
CANRX
24
21
I/O
I
TTL
Digital I/O.
CAN bus RX.
RB4/KBI0/AN9
RB4
KBI0
AN9
25
22
I/O
I
TTL
Analog
Digital I/O.
Interrupt-on-change pin.
Analog Input 9.
RB5/KBI1/PGM
RB5
KBI1
PGM
26
23
I/O
I
I/O
TTL
ST
Digital I/O.
Interrupt-on-change pin.
Low-Voltage ICSP Programming enable pin.
RB6/KBI2/PGC
RB6
KBI2
PGC
27
24
I/O
I
I/O
TTL
ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming clock pin.
RB7/KBI3/PGD
RB7
KBI3
PGD
28
25
I/O
I
I/O
TTL
ST
Digital I/O.
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming data pin.
TABLE 1-2:
PIC18F2480/2580 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
SPDIP,
SOIC
QFN
Legend: TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
I
= Input
O
= Output
P
= Power
I2C= I2C/SMBus input buffer