Communications Processor Module and CPM Timers
MPC885 PowerQUICC Family Reference Manual, Rev. 2
17-8
Freescale Semiconductor
17.2.3.1
Timer Global Configuration Register (TGCR)
The timer global configuration register (TGCR) contains configuration 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.
This register is affected by HRESET and SRESET.
Table 17-1
describes the TGCR fields.
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 17-5. Timer Global Configuration Register (TGCR)
Table 17-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
FRZ
x
Freeze timer
x
0 The corresponding timer ignores the FRZ state.
1 Stops the corresponding timer if the MPC885 enters FRZ state. FRZ state is entered in debug
mode as defined in
Chapter 53, “System Development and Debugging.”
2, 6,
10, 14
STP
x 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
RST
x
Reset timer
x
The associated TMR
x and TRRx registers should be initialized before enabling the timer with RSTx.
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.
8
CAS2
Cascade timers
0 Normal operation
1 Timers 1 and 2 are cascaded to form a 32-bit timer.
12
GM1
Gate mode for TGATE1. Valid only if TMR1[GE] or TMR2[GE] is set.
0 Restart gate mode. A falling TGATE1 enables and restarts the count and a rising edge of TGATE1
disables the count.
1 Normal gate mode. This mode is the same as 0, except the falling edge of TGATE1 does not restart
the count value in the TCN.
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...