English
Language : 

PIC18F44J50-I Datasheet, PDF (245/562 Pages) Microchip Technology – 28/44-Pin, Low-Power, High-Performance USB Microcontrollers
PIC18F46J50 FAMILY
18.0 ENHANCED
CAPTURE/COMPARE/PWM
(ECCP) MODULE
PIC18F46J50 family devices have two Enhanced
Capture/Compare/PWM (ECCP) modules: ECCP1 and
ECCP2. These modules contain a 16-bit register, which
can operate as a 16-bit Capture register, a 16-bit
Compare register or a PWM Master/Slave Duty Cycle
register. These ECCP modules are upward compatible
with the standard CCP module found in many prior
PIC16 and PIC18 devices.
Note:
Register and bit names referencing one of
the two ECCP modules substitute an ‘x’
for the module number. For example, reg-
isters CCP1CON and CCP2CON, which
have the same definitions, are called
CCPxCON. Figures and diagrams use
ECCP1-based names, but those names
also apply to ECCP2, with a “2” replacing
the illustration name’s “1”.
When writing firmware, the “x” in register
and bit names must be replaced with the
appropriate module number.
ECCP1 and ECCP2 are implemented as standard CCP
modules with enhanced PWM capabilities. These
include:
• Provision for two or four output channels
• Output Steering modes
• Programmable polarity
• Programmable dead-band control
• Automatic shutdown and restart
The enhanced features are discussed in detail in
Section 18.5 “PWM (Enhanced Mode)”.
Note: PxA, PxB, PxC and PxD are associated
with the remappable pins (RPn).
 2011 Microchip Technology Inc.
DS39931D-page 245