MOTOROLA
Chapter 19. Communications Processor
19-15
Part V. The Communications Processor Module
19.7.3.2 RISC Timer Table Entries
The 16 timers are located in the block of memory pointed to by TM_BASE; each timer
occupies 4 bytes. The Þrst half-word holds the initial timer count taken from
TM_CMD[Timer Period] when
SET
TIMER
is executed; the next half-word is the current
timer count that is decremented (until it reaches zero). Do not modify the table entries
directly; instead, use the
SET
TIMER
command to reinitialize table values.
19.7.4 RISC Timer Event Register (RTER)/Mask Register (RTMR)
The RISC timer event register (RTER), shown in Figure 19-8, reports period timeout
events, which generate maskable interrupts. RTER bits are cleared by writing ones; writing
zeros has no effect.
The RISC timer mask register (RTMR), also shown in Figure 19-8, is used to enable
interrupts generated in the RTER. If an individual timerÕs RTMR bit is set, the timerÕs
RTER interrupt is enabled. If an RTMR bit is cleared, the corresponding interrupt in the
RTER is masked.
The RISC timer table bit in the CPM interrupt mask register, CIMR[RTT], described in
Section 35.5.3, ÒCPM Interrupt Mask Register,Ó acts as a global RISC timer interrupt mask.
Clearing CIMR[RTT] masks all RISC timer interrupts, regardless of RTMR.
19.7.5 PWM Mode
Designated pairs of timers can be used to generate PWM waveforms through port B. A
maximum of eight channels are supported.
The Þrst timer (even numbered) determines the duty cycle of the waveform:
¥
Program TM_CMD[Timer Period] to be the high period of the waveform.
¥
Set TM_CMD[V, PWM].
The second timer (odd numbered) determines the overall period:
¥
Program TM_CMD[Timer Period] to be the period of the whole waveform.
¥
Set TM_CMD[V, R] and clear TM_CMD[PWM].
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field
TMR1
5
TMR1
4
TMR1
3
TMR1
2
TMR1
1
TMR1
0
TMR
9
TMR
8
TMR
7
TMR
6
TMR
5
TMR
4
TMR
3
TMR
2
TMR
1
TMR
0
Reset
0000_0000_0000_0000
R/W
R/W
Addr
0x9D6 (RTER); 0x9DA (RTMR)
Figure 19-8. RISC Timer Event Register (RTER)/Mask Register (RTMR)
Содержание 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: ......