Datasheet

dsPIC30F6010A/6015
DS70150E-page 72 © 2011 Microchip Technology Inc.
FIGURE 10-3: 16-BIT TIMER2 BLOCK DIAGRAM (TYPE B TIMER) FOR dsPIC30F6010A
FIGURE 10-4: 16-BIT TIMER2 BLOCK DIAGRAM (TYPE B TIMER) FOR DSPIC30F6015
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
Sync
TON
Sync
PR2
T2IF
Equal
Comparator x 16
TMR2
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
Gate
Sync
Note: The dsPIC30F6015 does not have an external pin input to TIMER2. The following modes should not be used:
1. TCS = 1
2. TCS = 0 and TGATE = 1 (gated time accumulation)