Communications Processor
MPC885 PowerQUICC Family Reference Manual, Rev. 2
18-16
Freescale Semiconductor
The RISC timer table parameter RAM holds the general timer parameters.
Table 18-12
shows its memory
map.
18.8.3.1
RISC Timer Command Register (TM_CMD)
Figure 18-9
shows the TM_CMD register.
Table 18-13
describes TM_CMD fields.
Table 18-12. RISC Timer Table Parameter RAM Memory Map
Offset
1
1
From timer base address (IMMR + 3DB0)
Name
Width
Description
0x00
TM_BASE
Hword RISC timer table base address. The actual timers are a small block of memory in the
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, only 8 bytes are
required if two timers are needed and RISC timers 0 and 1 are enabled.
TM_BASE should be word-aligned.
0x02
TM_PTR
Hword RISC timer table pointer. Only the CP uses this register to point to the next timer
accessed in the timer table. Do not modify this register.
0x04
R_TMR
Hword RISC timer mode register. Only the CP uses this register to store the mode of the timer,
one-shot (0) or restart (1). Do not modify this register directly; it is modified indirectly
via TM_CMD and the
SET
TIMER
command.
0x06
R_TMV
Hword RISC timer valid register. Only the CP uses this register to determine whether a timer
is currently enabled. If the corresponding timer is enabled, a bit is 1. Do not modify this
register directly; it is modified indirectly via TM_CMD and the
SET
TIMER
command.
0x08
TM_CMD
Word
RISC timer command register. Used as a parameter location when
SET
TIMER
is issued.
Write this location before issuing
SET
TIMER
. The bits of this register are defined in
Section 18.8.3.1, “RISC Timer Command Register (TM_CMD).”
0x0C
TM_CNT
Word
RISC timer internal count. Tick counter that the CP updates after each tick or after the
timer table is scanned. It is updated if the CP’s internal timer is enabled, regardless of
whether any of the 16 timers are enabled, and it can be used to track the number of
ticks the CP receives and responds to.
0
1
2
3
11
12
15
Field
V
R
PWM
—
Timer Number
16
31
Field
Timer Period
Figure 18-9. RISC Timer Command Register (TM_CMD)
Table 18-13. TM_CMD Field Descriptions
Bits
Name
Description
0
V
Valid. When set, this bit enables the timer. It should be cleared to disable the timer.
1
R
Restart. Should be set for an automatic restart or cleared for a one-shot timer operation.
Содержание PowerQUICC MPC870
Страница 1: ...MPC885 PowerQUICC Family Reference Manual Supports MPC885 MPC880 MPC875 MPC870 MPC885RM Rev 2 04 2006 ...
Страница 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Страница 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Страница 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Страница 192: ...MPC885 Instruction Set MPC885 PowerQUICC Family Reference Manual Rev 2 5 22 Freescale Semiconductor ...
Страница 242: ...Instruction and Data Caches MPC885 PowerQUICC Family Reference Manual Rev 2 7 30 Freescale Semiconductor ...
Страница 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Страница 416: ...External Bus Interface MPC885 PowerQUICC Family Reference Manual Rev 2 13 42 Freescale Semiconductor ...
Страница 440: ...Clocks and Power Control MPC885 PowerQUICC Family Reference Manual Rev 2 14 24 Freescale Semiconductor ...
Страница 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Страница 606: ...SDMA Channels and IDMA Emulation MPC885 PowerQUICC Family Reference Manual Rev 2 19 20 Freescale Semiconductor ...
Страница 738: ...SCC Asynchronous HDLC Mode and IrDA MPC885 PowerQUICC Family Reference Manual Rev 2 25 16 Freescale Semiconductor ...
Страница 780: ...SCC Ethernet Mode MPC885 PowerQUICC Family Reference Manual Rev 2 27 24 Freescale Semiconductor ...
Страница 794: ...SCC Transparent Mode MPC885 PowerQUICC Family Reference Manual Rev 2 28 14 Freescale Semiconductor ...
Страница 848: ...Serial Peripheral Interface SPI MPC885 PowerQUICC Family Reference Manual Rev 2 30 18 Freescale Semiconductor ...
Страница 882: ...Universal Serial Bus USB MPC885 PowerQUICC Family Reference Manual Rev 2 31 34 Freescale Semiconductor ...
Страница 944: ...Parallel I O Ports MPC885 PowerQUICC Family Reference Manual Rev 2 34 26 Freescale Semiconductor ...
Страница 956: ...CPM Interrupt Controller MPC885 PowerQUICC Family Reference Manual Rev 2 35 12 Freescale Semiconductor ...
Страница 1004: ...Buffer Descriptors and Connection Tables MPC885 PowerQUICC Family Reference Manual Rev 2 37 30 Freescale Semiconductor ...
Страница 1022: ...ATM Parameter RAM MPC885 PowerQUICC Family Reference Manual Rev 2 38 18 Freescale Semiconductor ...
Страница 1068: ...ATM Pace Control MPC885 PowerQUICC Family Reference Manual Rev 2 40 22 Freescale Semiconductor ...
Страница 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Страница 1120: ...AAL2 Implementation MPC885 PowerQUICC Family Reference Manual Rev 2 44 30 Freescale Semiconductor ...
Страница 1162: ...Fast Ethernet Controller FEC MPC885 PowerQUICC Family Reference Manual Rev 2 45 40 Freescale Semiconductor ...
Страница 1172: ...SEC Lite Overview MPC885 PowerQUICC Family Reference Manual Rev 2 46 8 Freescale Semiconductor ...
Страница 1176: ...SEC Lite Address Map MPC885 PowerQUICC Family Reference Manual Rev 2 47 4 Freescale Semiconductor ...
Страница 1214: ...SEC Lite Execution Units MPC885 PowerQUICC Family Reference Manual Rev 2 48 38 Freescale Semiconductor ...
Страница 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Страница 1313: ...MPC885 PowerQUICC Family Reference Manual Rev 2 Freescale Semiconductor B 1 Appendix B Serial Communications Performance TBD ...
Страница 1314: ...Serial Communications Performance MPC885 PowerQUICC Family Reference Manual Rev 2 B 2 Freescale Semiconductor ...
Страница 1320: ...Register Quick Reference Guide MPC885 PowerQUICC Family Reference Manual Rev 2 C 6 Freescale Semiconductor ...
Страница 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Страница 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Страница 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Страница 1384: ...Serial ATM Scrambling Reception and SI Programming MPC885 PowerQUICC Family Reference Manual Rev 2 H 6 Freescale Semiconductor ...
Страница 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...