PIC24FV16KM204 FAMILY
DS33030A-page 146
Advance Information
2013 Microchip Technology Inc.
13.3
Output Compare Mode
Output Compare mode compares the Timer register
value with the value of one or two Compare registers,
depending on its mode of operation. The output com-
pare module on compare match events has the ability
to generate a single output transition or a train of output
pulses. Like most PIC
®
MCU peripherals, the output
compare module can also generate interrupts on a
compare match event
shows the various modes available in
output compare modes.
TABLE 13-2:
OUTPUT COMPARE/PWM MODES
FIGURE 13-5:
OUTPUT COMPARE x BLOCK DIAGRAM
MOD<3:0>
(CCP1CONL<3:0>)
T32
(CCP1CONL<5>)
Operating Mode
0001
0
Output High on Compare (16-bit)
Single-Edge Mode
0001
1
Output High on Compare (32-bit)
0010
0
Output Low on Compare (16-bit)
0010
1
Output Low on Compare (32-bit)
0011
0
Output Toggle on Compare (16-bit)
0011
1
Output Toggle on Compare (32-bit)
0100
0
Dual Edge Compare (16-bit)
Dual Edge Mode
0101
0
Dual Edge Compare (16-bit buffered)
PWM Mode
0110
0
Center-Aligned Pulse (16-bit buffered)
Center PWM
0111
0
Variable Frequency Pulse (16-bit)
0111
1
Variable Frequency Pulse (32-bit)
CCPxRA Buffer
Comparator
CCPxCON1H/L
CCPxCON2H/L
OC Output,
Output Compare
CCPx Pin(s)
CCPxRB Buffer
Comparator
Fault Logic
Match
Match
Time Base
Generator
Increment
Reset
OC Clock
Sources
Trigger and
Sync Sources
Reset
Match Event
OCFA/OCFB
CCPxRA
Event
Event
Rollover
Rollover/Reset
Rollover/Reset
CCPxCON3H/L
Auto-Shutdown
and Polarity
Control
Edge
Detect
Interrupt
Comparator
Trigger and
Sync Logic
CCPxPRL
CCPxRB
CCPxTMRH/L
Summary of Contents for PIC24FV16KM204 FAMILY
Page 312: ...PIC24FV16KM204 FAMILY DS33030A page 312 Advance Information 2013 Microchip Technology Inc ...
Page 313: ... 2013 Microchip Technology Inc Advance Information DS33030A page 313 PIC24FV16KM204 FAMILY ...
Page 315: ... 2013 Microchip Technology Inc Advance Information DS33030A page 315 PIC24FV16KM204 FAMILY ...
Page 316: ...PIC24FV16KM204 FAMILY DS33030A page 316 Advance Information 2013 Microchip Technology Inc ...
Page 317: ... 2013 Microchip Technology Inc Advance Information DS33030A page 317 PIC24FV16KM204 FAMILY ...
Page 322: ...PIC24FV16KM204 FAMILY DS33030A page 322 Advance Information 2013 Microchip Technology Inc ...