Motorola MPC860 PowerQUICC User Manual page 561

Table of Contents

Advertisement

timer. (Using
SET TIMER
execution of the CP.)
19.7.2 The
SET TIMER
Issued to the CP command register (CPCR), the
disable, and conÞgure 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.
19.7.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 19-6.
DPRAM_BASE + 0x1DB0
The RISC timer table parameter RAM holds the general timer parameters. Table 19-9
shows its memory map.
Table 19-9. RISC Timer Table Parameter RAM Memory Map
1
Offset
Name
Width
0x00
TM_BASE Hword RISC timer table base address. The actual timers are a small block of memory in the
0x02
TM_PTR
Hword RISC timer table pointer. Only the CP uses this register to point to the next timer
MOTOROLA
properly synchronizes the timer table modiÞcations to the
Command
Timer Table
(Up to 64 Bytes)
Timer Table
Parameter RAM
Figure 19-6. RISC Timer Table RAM Usage
dual-port RAM. TM_BASE is the offset from the beginning of the dual-port RAM where
that block of memory resides. Four bytes must be reserved at the TM_BASE for each
timer used, (64 bytes if all 16 timers are used). If fewer than 16 timers are used, timers
should be allocated in ascending order to save space. For example, 8 bytes are
required if two timers are needed and RISC timers 0 and 1 are enabled.
TM_BASE should be word-aligned.
accessed in the timer table. Do not modify this register.
Chapter 19. Communications Processor
Part V. The Communications Processor Module
command is used to enable,
SET TIMER
16 RISC
Entries
TM_BASE
RISC
Description
Timer Table Base Pointer
19-13

Advertisement

Table of Contents
loading

Table of Contents