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EG4
0/CCP9
(2
)(
3
) /P
3
C
/A
N12
/C2INC
RJ5
/SE
G
38
RJ4
/SE
G
39
37
RJ7/SEG36
RJ6/SEG37
50
49
RJ2/SEG34
RJ3/SEG35
19
20
33 34 35 36
38
58
57
56
55
54
53
52
51
60
59
68 6766 65
72 71 70 69
74 73
78 77 76 75
79
80
RB0/INT0/SEG30/FLT0
RB1/INT1/SEG8
RB2/INT2/SEG9/CTED1
RB3/INT3/SEG10/CTED2/P2A
RB4/KBI0/SEG11
RB5/KBI1/SEG29/T3CKI/T1G
RB6/KBI2/PGC
RB7/KBI3/PGD
RC2/ECCP1/P1A/SEG13
RC5/SDO1/SEG12
R
A
4/
T
0CK
I/
S
E
G1
4
R
A
5/A
N
4/
T1
C
K
I/
S
E
G
15
/T3
G/H
LV
D
IN
RC1
/S
O
S
CI/ECCP2
(1
) I
/SEG
32
/P2
A
RC0
/S
OSCO/SCKL
I
RC
7/
RX1
/DT
1
/SE
G
28
RF7/AN5/SS1/SEG25
RF6/AN11/SEG24/C1INA
RF5/AN10/CVREF/SEG23/C1INB
RF4/AN9/SEG22/C2INA
RF3/AN8/SEG21/C2INB/CTMUI
RF2/AN7/C1OUT/SEG20
RC4/SDI1/SDA1/SEG16
RC3/SCK1/SCL1/SEG17
PIC18F85K90
PIC18F86K90
PIC18F87K90
RG4/SEG26/RTCC/T7CKI(2)/T5G/CCP5/AN16/P1D/C3INC
RC6/T
X
1/CK
1
/S
E
G
27
VSS
OSC2/CLKO/RA6
OSC1/CLKI/RA7
VDD
RJ7/SEG36
RJ6/SEG37
RJ2/SEG34
RJ3/SEG35
RB0/INT0/SEG30/FLT0
RB1/INT1/SEG8
RB2/INT2/SEG9/CTED1
RB4/KBI0/SEG11
RB6/KBI2/PGC
RB7/KBI3/PGD
RC2/ECCP1/P1A/SEG13
RC5/SDO1/SEG12
RC4/SDI1/SDA1/SEG16
RC3/SCK1/SCL1/SEG17
Note 1:
The ECCP2 pin placement depends on the CCP2MX Configuration bit setting.
2:
Not available on the PIC18F65K90 and PIC18F85K90.
3:
The CCP6, CCP7, CCP8 and CCP9 pin placement depends on the ECCPMX Configuration bit setting