Datasheet

PIC18F8722 FAMILY
DS39646C-page 190 © 2008 Microchip Technology Inc.
TABLE 18-2: PIN CONFIGURATIONS FOR ECCP2
ECCP Mode
CCP2CON
Configuration
RB3 RC1 RE7 RE2 RE1 RE0
PIC18F6527/6622/6627/6722 Devices, CCP2MX = 1:
Compatible CCP 00xx 11xx
RB3/INT3 ECCP2 RE7 RE2 RE1 RE0
Dual PWM 10xx 11xx
RB3/INT3 P2A RE7 P2B RE1 RE0
Quad PWM x1xx 11xx RB3/INT3 P2A RE7 P2B P2C P2D
PIC18F6527/6622/6627/6722 Devices CCP2MX =
0:
Compatible CCP 00xx 11xx RB3/INT3 RC1/T1OSI ECCP2 RE2 RE1 RE0
Dual PWM 10xx 11xx
RB3/INT3 RC1/T1OSI P2A P2B RE1 RE0
Quad PWM x1xx 11xx RB3/INT3 RC1/T1OSI P2A P2B P2C P2D
PIC18F8527/8622/8627/8722 Devices, CCP2MX = 1, Microcontroller mode:
Compatible CCP 00xx 11xx
RB3/INT3
ECCP2
RE7 RE2 RE1 RE0
Dual PWM 10xx 11xx
RB3/INT3
P2A
RE7 P2B RE1 RE0
Quad PWM x1xx 11xx RB3/INT3 P2A RE7 P2B P2C P2D
PIC18F8527/8622/8627/8722 Devices, CCP2MX = 0, Microcontroller mode:
Compatible CCP
00xx 11xx
RB3/INT3 RC1/T1OSI ECCP2 RE2 RE1 RE0
Dual PWM
10xx 11xx
RB3/INT3 RC1/T1OSI P2A P2B RE1 RE0
Quad PWM
x1xx 11xx
RB3/INT3 RC1/T1OSI P2A P2B P2C P2D
PIC18F8527/8622/8627/8722 Devices, CCP2MX = 1, all other Program Memory modes:
Compatible CCP
00xx 11xx
RB3/INT3 ECCP2 AD15
(1)
AD10
(1)
AD9
(1)
AD8
(1)
Dual PWM
10xx 11xx
RB3/INT3 P2A AD15
(1)
AD10/P2B
(1)
AD9
(1)
AD8
(1)
Quad PWM
x1xx 11xx
RB3/INT3 P2A AD15
(1)
AD10/P2B
(1)
AD9/P2C
(1)
P2D/AD8
(1)
PIC18F8527/8622/8627/8722 Devices, CCP2MX = 0, all other Program Memory modes:
Compatible CCP
00xx 11xx
ECCP2 RC1/T1OSI AD15
(1)
AD10
(1)
AD9
(1)
AD8
(1)
Dual PWM
10xx 11xx
P2A RC1/T1OSI AD15
(1)
AD10/P2B
(1)
AD9
(1)
AD8
(1)
Quad PWM
x1xx 11xx
P2A RC1/T1OSI AD15
(1)
AD10/P2B
(1)
AD9/P2C
(1)
P2D/AD8
(1)
Legend: x = Don’t care. Shaded cells indicate pin assignments not used by ECCP2 in a given mode.
Note 1: The EMB address bus width will determine whether the pin will perform an EMB or port/peripheral function.