Freescale Semiconductor DSP56366 ユーザーズマニュアル

ページ / 366
Timer/Event Counter Programming Model
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
11-4
Freescale Semiconductor
 
Figure 11-3  Timer Module Programmer’s Model
DO
DI
DIR
15
14
13
12
11
10
9
8
TC1
TC0
INV
TCIE
TE
7
6
5
4
3
2
1
0
Timer Control/Status
Register (TCSR)
- reserved, read as 0, should be written with 0 for future compatibility
23
0
Timer Load
Register (TLR)
23
22
21
20
19
18
17
16
23
0
Timer Compare
Register (TCPR)
PCE
TRM
TCF TOF
TOIE
TC2
23
0
Timer Count
Register (TCR)
TC3
TCSR0 = $FFFF8F
TCSR1 = $FFFF8B
TCSR2 = $FFFF87
TLR0 = $FFFF8E
TLR1 = $FFFF8A
TLR2 = $FFFF86
TCR0 = $FFFF8C
TCR1 = $FFFF88
TCR2 = $FFFF84
TCPR0 = $FFFF8D
TCPR1 = $FFFF89
TCPR2 = $FFFF85
23
0
Timer Prescaler Load
Register (TPLR)
TPLR = $FFFF83
23
0
Timer Prescaler Count
Register (TPCR)
TPLR = $FFFF82