19-14
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
19.7.3.1 RISC Timer Command Register (TM_CMD)
Figure 19-7 shows the TM_CMD register.
Table 19-10 describes TM_CMD Þelds.
1
From timer base address (IMMR + 3DB0)
0x04
R_TMR
Hword RISC timer mode register. Only the CP uses this register to store the mode of the
timer, one-shot (0) or restart (1). Do not modify this register directly; it is modiÞed
indirectly via TM_CMD and the
SET
TIMER
command.
0x06
R_TMV
Hword RISC timer valid register. Only the CP uses this register to determine whether a timer
is currently enabled. If the corresponding timer is enabled, a bit is 1. Do not modify this
register directly; it is modiÞed indirectly via TM_CMD and the
SET
TIMER
command.
0x08
TM_CMD
Word
RISC timer command register. Used as a parameter location when
SET
TIMER
is issued.
Write this location prior to issuing
SET
TIMER
. The bits of this register are deÞned in
Section 19.7.3.1, ÒRISC Timer Command Register (TM_CMD)
0x0C
TM_CNT
Word
RISC timer internal count. Tick counter that the CP updates after each tick or after the
timer table is scanned. It is updated if the CPÕs internal timer is enabled, regardless of
whether any of the 16 timers are enabled, and it can be used to track the number of
ticks the CP receives and responds to.
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field
V
R
PWM
Ñ
Timer Number
Bit
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Field
Timer Period
Figure 19-7. RISC Timer Command Register (TM_CMD)
Table 19-10. TM_CMD Field Descriptions
Bits
Name
Description
0
V
Valid. When set, this bit enables the timer. It should be cleared to disable the timer.
1
R
Restart. Should be set for an automatic restart or cleared for a one-shot timer operation.
2
PWM
Pulse width modulation mode. Set for PWM operation; see Section 19.7.5, ÒPWM Mode.Ó
3Ð11
Ñ
Reserved. Should be cleared.
12Ð15
Timer Number
A value from 0Ð15 signifying which timer to useÑan offset into the timer table entries.
16Ð31
Timer Period
The 16-bit timeout count of the timer. The maximum value is 65,536 and is programmed by
writing 0x0000 to the timer period.
Table 19-9. RISC Timer Table Parameter RAM Memory Map (Continued)
Offset
1
Name
Width
Description
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......