English
Language : 

DSPIC33FJ32GP302_11 Datasheet, PDF (189/412 Pages) Microchip Technology – High-Performance, 16-bit Digital Signal Controllers
dsPIC33FJ32GP302/304, dsPIC33FJ64GPX02/X04, AND dsPIC33FJ128GPX02/X04
13.0 TIMER2/3 AND TIMER4/5
FEATURE
Note 1: This data sheet summarizes the features
of the dsPIC33FJ32GP302/304,
dsPIC33FJ64GPX02/X04,
and
dsPIC33FJ128GPX02/X04 families of
devices. It is not intended to be a compre-
hensive reference source. To comple-
ment the information in this data sheet,
refer to “Section 11. Timers” (DS70205)
of the “dsPIC33F/PIC24H Family Refer-
ence Manual”, which is available from the
Microchip website (www.microchip.com).
2: Some registers and associated bits
described in this section may not be avail-
able on all devices. Refer to Section 4.0
“Memory Organization” in this data
sheet for device-specific register and bit
information.
Timer2 and Timer4 are Type B timers with the following
specific features:
• A Type B timer can be concatenated with a Type
C timer to form a 32-bit timer
• The external clock input (TxCK) is always
synchronized to the internal device clock and the
clock synchronization is performed after the
prescaler.
A block diagram of the Type B timer is shown in
Figure 13-1.
Timer3 and Timer5 are Type C timers with the following
specific features:
• A Type C timer can be concatenated with a Type
B timer to form a 32-bit timer
• At least one Type C timer has the ability to trigger
an A/D conversion.
• The external clock input (TxCK) is always syn-
chronized to the internal device clock and the
clock synchronization is performed before the
prescaler
A block diagram of the Type C timer is shown in
Figure 13-2.
FIGURE 13-1:
TYPE B TIMER BLOCK DIAGRAM (x = 2 or 4)
Gate
Sync
Falling Edge
Detect
1 Set TxIF flag
TxCK
FCY
Prescaler
(/n)
TCKPS<1:0>
Prescaler
(/n)
Sync
TCKPS<1:0>
10
0
Reset
00
TMRx
TGATE
x1
Equal
Comparator
TGATE
TCS
PRx
FIGURE 13-2:
TxCK
TYPE C TIMER BLOCK DIAGRAM (x = 3 or 5)
Gate
Sync
Falling Edge
Detect
1 Set TxIF flag
FCY
Sync
Prescaler
(/n)
TCKPS<1:0>
Prescaler
(/n)
TCKPS<1:0>
10
00
x1
TGATE
TCS
0
TMRx
Reset
TGATE
Equal ADC SOC Trigger
Comparator
PRx
© 2011 Microchip Technology Inc.
DS70292E-page 189