MOTOROLA
Chapter 18. Communications Processor Module and CPM Timers
18-7
Part V. The Communications Processor Module
Restart gate mode is like normal gate mode, but also resets the counter on the falling edge
of TGATEx. The restart gate mode can be used for pulse interval measurement and bus
monitoring:
¥
Pulse measurementÑThe restart gate mode can measure a low pulse on TGATEx.
The rising edge of TGATEx completes the measurement. If TGATEx is externally
connected to TINx, it causes the timer to capture the count value and generate a
rising-edge interrupt.
¥
Bus monitoringÑThe restart gate mode can detect a signal that is abnormally stuck
low. The bus signal should be connected to TGATEx. The timer count is reset on the
falling edge of the bus signal and if the bus signal does not go high again within the
number of user-deÞned clocks, an interrupt can be generated.
The gate function is enabled in the TMR; the gate operating mode is selected in the TGCR.
Note that TGATEx is internally synchronized to the system clock. However, if TGATEx
meets the asynchronous input setup time, the counter begins counting after one system
clock when the input clock source (TMRx[ICLK]) is internal.
18.2.2.5 Cascaded Mode
Timer 1 can be internally cascaded to timer 2 and timer 3 can be internally cascaded to timer
4 to form 32-bit timers. The TGCR is used to put the timers into cascaded mode, as shown
in Figure 18-4.
Figure 18-4. Timer Cascaded Mode Block Diagram
If TGCR[CASx] is set, the two corresponding timers function as a 32-bit timer with a 32-bit
TRR, TCR, and TCN. In this case, the mode registers TMR1 and TMR3 are ignored and
TMR2 and TMR4 are used to deÞne the mode. Similarly, the capture is controlled by TIN2
or TIN4, and interrupts are generated by TER2 or TER4. In cascaded mode, the cascaded
TRR, TCR, and TCN should always be accessed with 32-bit bus cycles.
Timer 1
Timer 2
Timer 3
Timer 4
Capture
Capture
Clock
Clock
TRR, TCR, TCN connected to D[16Ð31]
TRR, TCR, TCN connected to D[0Ð15]
TRR, TCR, TCN connected to D[0Ð15]
TRR, TCR, TCN connected to D[16Ð31]
Содержание 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: ......