
PIC18F6585/8585/6680/8680
DS30491C-page 18
2004 Microchip Technology Inc.
PORTF is a bidirectional I/O port.
RF0/AN5
RF0
AN5
18
28
24
I/O
I
ST
Analog
Digital I/O.
Analog input 5.
RF1/AN6/C2OUT
RF1
AN6
C2OUT
17
27
23
I/O
I
O
ST
Analog
ST
Digital I/O.
Analog input 6.
Comparator 2 output.
RF2/AN7/C1OUT
RF2
AN7
C1OUT
16
26
18
I/O
I
O
ST
Analog
ST
Digital I/O.
Analog input 7.
Comparator 1 output.
RF3/AN8/C2IN+
RF1
AN8
C2IN+
15
25
17
I/O
I
ST
Analog
Digital I/O.
Analog input 8.
Comparator 2 input (+).
RF4/AN9/C2IN-
RF1
AN9
C2IN-
14
24
16
I/O
I
ST
Analog
Digital I/O.
Analog input 9.
Comparator 2 input (-).
RF5/AN10/C1IN+/CVREF
RF1
AN10
C1IN+
CVREF
13
23
15
I/O
I
O
ST
Analog
Digital I/O.
Analog input 10.
Comparator 1 input (+).
Comparator VREF output.
RF6/AN11/C1IN-
RF6
AN11
C1IN-
12
22
14
I/O
I
ST
Analog
Digital I/O.
Analog input 11.
Comparator 1 input (-)
RF7/SS
RF7
SS
11
21
13
I/O
I
ST
TTL
Digital I/O.
SPI slave select input.
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.