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