PIC18F6585/8585/6680/8680
DS30491C-page 20
2004 Microchip Technology Inc.
PORTH is a bidirectional I/O port(5).
RH0/A16
RH0
A16
——
79
I/O
O
ST
TTL
Digital I/O.
External memory address 16.
RH1/A17
RH1
A17
——
80
I/O
O
ST
TTL
Digital I/O.
External memory address 17.
RH2/A18
RH2
A18
——
1
I/O
O
ST
TTL
Digital I/O.
External memory address 18.
RH3/A19
RH3
A19
——
2
I/O
O
ST
TTL
Digital I/O.
External memory address 19.
RH4/AN12
RH4
AN12
——
22
I/O
I
ST
Analog
Digital I/O.
Analog input 12.
RH5/AN13
RH5
AN13
——
21
I/O
I
ST
Analog
Digital I/O.
Analog input 13.
RH6/AN14/P1C
RH6
AN14
P1C(7)
——
20
I/O
I
I/O
ST
Analog
ST
Digital I/O.
Analog input 14.
Alternate CCP1 PWM output C.
RH7/AN15/P1B
RH7
AN15
P1B(7)
——
19
I/O
I
ST
Analog
Digital I/O.
Analog input 15.
Alternate CCP1 PWM output B.
TABLE 1-2:
PIC18F6585/8585/6680/8680 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
PIC18F6X8X PIC18F8X8X
TQFP PLCC
TQFP
Legend: TTL
= TTL compatible input
CMOS
= CMOS compatible input or output
ST
= Schmitt Trigger input with CMOS levels
Analog = Analog input
I
= Input
O
= Output
P
= Power
OD
= 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.