18-8
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
18.2.3 CPM Timer Register Set
The following subsections discuss the CPM timer register set.
18.2.3.1 Timer Global ConÞguration Register (TGCR)
The timer global conÞguration register (TGCR) contains conÞguration parameters used by
all four timers. It allows simultaneous starting and stopping of any number of timers as long
as one bus cycle is used to access TGCR.
Table 18-1 describes the TGCR Þelds.
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field
CAS4 FRZ4 STP4 RST4 GM2 FRZ3 STP3 RST3 CAS2 FRZ2 STP2 RST2 GM1 FRZ1 STP1 RST1
Reset
0
R/W
R/W
Addr
0x980
Figure 18-5. Timer Global Configuration Register (TGCR)
Table 18-1. TGCR Field Descriptions
Bits
Name
Description
0
CAS4
Cascade timers.
0 Normal operation.
1 Timers 3 and 4 are cascaded to form a 32-bit timer.
1, 5,
9, 13
FRZx
Freeze timer
x
.
0 The corresponding timer ignores the FRZ state.
1 Stops the corresponding timer if the MPC860 enters FRZ state. FRZ state is entered in debug mode
as deÞned in Chapter 37, ÒSystem Development and Debugging.Ó
2, 6,
10,
14
STPx
Stop timer
x
.
0 Normal operation.
1 Stop the timer. This bit stops all clocks to the timer, except the U-bus interface clock allowing the
timer registers to be read or written. The clocks to the timer remain inactive until this bit is cleared or
a hardware reset occurs.
3, 7,
11,
15
RSTx
Reset timer
x
.
The associated TMR
x
and TRR
x
registers should be initialized before enabling the timer with RST
x
.
0 Reset the corresponding timer. Upon clearing this bit, all associated timer registers are reset.
1 Enable the corresponding timer if STP is cleared.
4
GM2
Gate mode for TGATE2. Valid only if TMR3[GE] or TMR4[GE] is set.
0 Restart gate mode. A falling edge of TGATE2 enables and restarts the count and a rising edge of
TGATE2 disables the count.
1 Normal gate mode. This mode is the same as 0, except the falling edge of TGATE2 does not restart
the count value in the TCN.
Содержание 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: ......