© 2004 Microchip Technology Inc. DS70059C-page 12-5
Section 12. Timers
Timers
12
12.2.3 Type C Timer
Timer3 and Timer5 are Type C timers on most dsPIC30F devices. A Type C timer has the
following unique features over other types of timers:
• A Type C timer can be concatenated with a Type B timer to form a 32-bit timer.
• On a given device, at least one Type C timer has the ability to trigger an A/D conversion.
A block diagram of the Type C timer is shown in Figure 12-3.
Figure 12-3: Type C Timer Block Diagram
TON
PRx
TxIF
Equal
Comparator x 16
TMRx
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
TxCK
ADC Event
Note: In certain variants of the dsPIC30F family, the TxCK pin may not be available. Refer to the device data
sheet for the I/O pin details. In such cases, the timer must use the system clock (F
OSC/4) as its input
clock, unless it is configured for 32-bit operation.
Sync
Trigger