Microchip Technology MCP1631RD-MCC2 Data Sheet

Page of 338
 2006-2012 Microchip Technology Inc.
DS41291G-page 127
PIC16F882/883/884/886/887
11.0 CAPTURE/COMPARE/PWM 
MODULES (CCP1 AND CCP2)
This device contains one Enhanced Capture/Compare/
PWM (CCP1) and Capture/Compare/PWM module
(CCP2). The CCP1 and CCP2 modules are identical in
operation, with the exception of the Enhanced PWM
features available on CCP1 only. See 
 for more information.
11.1
Enhanced Capture/Compare/PWM 
(CCP1)
The Enhanced Capture/Compare/PWM module is a
peripheral which allows the user to time and control
different events. In Capture mode, the peripheral
allows the timing of the duration of an event. The
Compare mode allows the user to trigger an external
event when a predetermined amount of time has
expired. The PWM mode can generate a Pulse-Width
Modulated signal of varying frequency and duty cycle.
 shows the timer resources required by the
ECCP module.
TABLE 11-1:
ECCP MODE – TIMER 
RESOURCES REQUIRED
Note:
CCPRx and CCPx throughout this
document refer to CCPR1 or CCPR2 and
CCP1 or CCP2, respectively.
ECCP Mode
Timer Resource
Capture
Timer1
Compare
Timer1
PWM
Timer2