English
Language : 

PIC24F16KL402 Datasheet, PDF (126/260 Pages) Microchip Technology – Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KL402 FAMILY
FIGURE 16-1:
GENERIC CAPTURE MODE BLOCK DIAGRAM
Set CCPxIF
(E)CCPx Pin
Prescaler
 1, 4, 16
and
Edge Detect
CCPxCON<3:0> 4
Q1:Q4 4
TMR3H
TMR3L
CCPRxH CCPRxL
FIGURE 16-2:
GENERIC COMPARE MODE BLOCK DIAGRAM
CCPRxH CCPRxL
Set CCPxIF
Comparator
Compare
Match
TMR3H TMR3L
Special Event Trigger
(Timer3 Reset)
Output
Logic
4
CCPxCON<3:0>
SQ
R
CCPx Pin
CCP
Output Enable
FIGURE 16-3:
SIMPLIFIED PWM BLOCK DIAGRAM
Duty Cycle Registers
CCPRxL
CCPxCON<5:4>
CCPRxH (Slave)
Comparator
R
TMR2(2)
(1)
S
Comparator
PR2(2)
Clear Timer,
CCP1 Pin and
Latch D.C.
Q
CCPx
CCP
Output Enable
Note 1: The 8-bit TMR2 value is concatenated with the 2-bit internal Q clock, or 2 bits of the prescaler, to create the 10-bit time base.
2: Either Timer2 or Timer4 may be used as the PWM time base.
DS31037B-page 126
 2011 Microchip Technology Inc.