PIC18F2480/2580/4480/4580
TABLE 1-3:
Pin Name
PIC18F4480/4580 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Number
Pin Buffer
Type Type
Description
PDIP QFN TQFP
PORTB is a bidirectional I/O port. PORTB can be
software programmed for internal weak pull-ups on all
inputs.
RB0/INT0/FLT0/
AN10
33
9
8
I/O
TTL
ST
ST
Digital I/O.
External Interrupt 0.
Enhanced PWM Fault input (ECCP1 module).
Analog input 10.
RB0
INT0
FLT0
I
I
I
Analog
AN10
RB1/INT1/AN8
RB1
34
35
10
11
9
I/O
I
I
TTL
ST
Analog
Digital I/O.
External Interrupt 1.
Analog input 8.
INT1
AN8
RB2/INT2/CANTX
RB2
10
I/O
I
O
TTL
ST
TTL
Digital I/O.
External Interrupt 2.
CAN bus TX.
INT2
CANTX
RB3/CANRX
RB3
36
37
12
14
11
14
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
38
39
15
16
15
16
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.
KBI2
PGC
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming
clock pin.
RB7/KBI3/PGD
RB7
40
17
17
I/O
I
I/O
TTL
TTL
ST
Digital I/O.
KBI3
PGD
Interrupt-on-change pin.
In-Circuit Debugger and ICSP programming
data pin.
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 20
© 2009 Microchip Technology Inc.