English
Language : 

PIC18F6585 Datasheet, PDF (16/496 Pages) Microchip Technology – 64/68/80-Pin High-Performance, 64-Kbyte Enhanced Flash Microcontrollers with ECAN Module
PIC18F6585/8585/6680/8680
TABLE 1-2: PIC18F6585/8585/6680/8680 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
PIC18F6X8X
PIC18F8X8X
Pin
Type
TQFP PLCC TQFP
Buffer
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
48 60
58
I/O
TTL
Digital I/O.
I
ST
External interrupt 0.
RB1/INT1
RB1
INT1
47 59
57
I/O
TTL
Digital I/O.
I
ST
External interrupt 1.
RB2/INT2
RB2
INT2
46 58
56
I/O
TTL
Digital I/O.
I
ST
External interrupt 2.
RB3/INT3/CCP2
RB3
INT3
CCP2(1)
45 57
55
I/O
TTL
Digital I/O.
I/O
ST
External interrupt 3.
I/O
ST
Capture 2 input/Compare 2 output/
PWM 2 output.
RB4/KBI0
RB4
KBI0
44 56
54
I/O
TTL
Digital I/O.
I
ST
Interrupt-on-change pin.
RB5/KBI1/PGM
RB5
KBI1
PGM
43 55
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 54
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 48
47
I/O
TTL
Digital I/O.
I/O
ST
Interrupt-on-change pin.
In-circuit debugger and ICSP
programming data.
Legend: TTL
ST
I
P
= TTL compatible input
= Schmitt Trigger input with CMOS levels
= Input
= 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 in all operating modes except Microcontroller – applies to PIC18F8X8X only.
2: Default assignment when CCP2MX is set.
3: External memory interface functions are only available on PIC18F8X8X devices.
4: CCP2 is multiplexed with this pin by default when configured in Microcontroller mode; otherwise, it is
multiplexed with either RB3 or RC1.
5: PORTH and PORTJ are only available on PIC18F8X8X (80-pin) devices.
6: PSP is available in Microcontroller mode only.
7: On PIC18F8X8X devices, these pins can be multiplexed with RH7/RH6 by changing the ECCPMX
configuration bit.
DS30491C-page 14
 2004 Microchip Technology Inc.