EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 246

Microchip Technology dsPIC30F
738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
dsPIC30F Family Reference Manual
DS70059C-page 12-4 © 2004 Microchip Technology Inc.
12.2.2 Type B Timer
Timer2 and Timer4, if present, are Type B timers on most dsPIC30F devices. A Type B timer has
the following unique features over other types of timers:
A Type B timer can be concatenated with a Type C timer to form a 32-bit timer. The TxCON
register for a Type B timer has the T32 control bits to enable the 32-bit timer function.
The clock synchronization for a Type B timer is performed after the prescale logic.
A block diagram of the Type B timer is shown in Figure 12-2.
Figure 12-2: Type B Timer Block Diagram
TON
Sync
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
Gate
TxCKI
Sync

Table of Contents

Other manuals for Microchip Technology dsPIC30F