Communications Processor
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Freescale Semiconductor
18-15
18.8.1
RISC Timer Table Scan Algorithm
The CP scans the timer table once every tick of the internal CP timer. For each valid timer in the table, the
CP decrements the count and checks for a timeout. If no timeout occurs, it moves to the next timer. If a
timeout does occur, the CP sets the corresponding event bit in RTER and checks R_TMR to see if the timer
must be restarted. If it does, the CP leaves the timer valid bit set in the R_TMV register and resets the
current count to the initial count; otherwise, the CP clears R_TMV. When the timer table is scanned, the
CP updates TM_CNT and stops working on the timer table until the next scan tick.
If
SET
TIMER
is issued, the CP makes the appropriate modifications to the timer table and parameter RAM,
but does not scan the timer table until the next tick of the internal CP timer. (Using
SET
TIMER
properly
synchronizes the timer table modifications to the execution of the CP.)
18.8.2
The
SET
TIMER
Command
Issued to the CP command register (CPCR), the
SET
TIMER
command is used to enable, disable, and
configure the 16 timers in the RISC timer table. Set up the TM_CMD value in the RISC timer table
parameter RAM before writing 0x0851 to the CPCR.
18.8.3
RISC Timer Table Parameter RAM and Timer Table Entries
Two areas of dual-port RAM are used for the RISC timer table—RISC timer table parameter RAM and
the RISC timer table entries; see
Figure 18-8
.
Figure 18-8. RISC Timer Table RAM Usage
TM_BASE
16 RISC
Timer Table
Entries
(Up to 64 Bytes)
RISC
Timer Table
Parameter RAM
DPRA 0x1DB0
Timer Table Base Pointer
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 ...