Datasheet
© 2011 Microchip Technology Inc. DS70149E-page 73
dsPIC30F5015/5016
FIGURE 10-2: 16-BIT TIMER2 BLOCK DIAGRAM (TYPE B TIMER)
FIGURE 10-3: 16-BIT TIMER3 BLOCK DIAGRAM (TYPE C TIMER)
TON
Sync
PR2
T2IF
Equal
Comparator x 16
TMR2
Reset
Event Flag
Q
QD
CK
TGATE
TCKPS<1:0>
Prescaler
1, 8, 64, 256
2
TGATE
T
CY
1
0
TCS
1 x
0 1
TGATE
0 0
Gate
T2CK
(1)
Sync
Note 1: T2CK input is not available on dsPIC30F5015. This input is grounded as shown in Figure 10-3.
TON
PR3
T3IF
Equal
Comparator x 16
TMR3
Reset
Event Flag
Q
Q
D
CK
TGATE
TCKPS<1:0>
Prescaler
1, 8, 64, 256
2
TGATE
T
CY
1
0
TCS
1 x
0 1
TGATE
0 0
ADC Event Trigger
Sync
Note: The dsPIC30F5015/5016 devices do not have external pin inputs to Timer3. In these devices, the following
modes should not be used:
1. TCS = 1
2. TCS = 0 and TGATE = 1 (gated time accumulation)