Datasheet

2003-2013 Microchip Technology Inc. DS30491D-page 19
PIC18F6585/8585/6680/8680
PORTG is a bidirectional I/O port.
RG0/CANTX1
RG0
CANTX1
312 5
I/O
O
ST
TTL
Digital I/O.
CAN bus transmit 1.
RG1/CANTX2
RG1
CANTX2
413 6
I/O
O
ST
TTL
Digital I/O.
CAN bus transmit 2.
RG2/CANRX
RG2
CANRX
514 7
I/O
I
ST
TTL
Digital I/O.
CAN bus receive.
RG3
RG3
615 8
I/O ST Digital I/O.
RG4/P1D
RG4
P1D
817 10
I/O
O
ST
TTL
Digital I/O.
ECCP1 PWM output D.
RG5 7 16 9 I ST General purpose input pin.
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 19 Tuesday, January 29, 2013 1:32 PM