Datasheet
PIC18F6585/8585/6680/8680
DS30491D-page 18 2003-2013 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
I
ST
Analog
Analog
Digital I/O.
Analog input 8.
Comparator 2 input (+).
RF4/AN9/C2IN-
RF1
AN9
C2IN-
14 24 16
I/O
I
I
ST
Analog
Analog
Digital I/O.
Analog input 9.
Comparator 2 input (-).
RF5/AN10/C1IN+/CV
REF
RF1
AN10
C1IN+
CV
REF
13 23 15
I/O
I
I
O
ST
Analog
Analog
Analog
Digital I/O.
Analog input 10.
Comparator 1 input (+).
Comparator V
REF output.
RF6/AN11/C1IN-
RF6
AN11
C1IN-
12 22 14
I/O
I
I
ST
Analog
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
DescriptionPIC18F6X8X 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 V
DD)
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.
18F8680.book Page 18 Tuesday, January 29, 2013 1:32 PM