11-24
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part III. Configuration
Table 11-15 describes the DEC register.
11.9 The PowerPC Timebase
The PowerPC timebase is a 64-bit free-running binary counter. For the MPC860, the
timebase is clocked by TMBCLK. The timebase period is as follows:
The timebase is unaffected by RESETH and RESETS and should be initialized by software.
Note, however, that it is disabled and reset by PORESET. The entire timebase cannot be
accessed with a single instruction; mttb and mftb access the lower half of the timebase and
mttbu and mftbu access the upper half. A maskable interrupt is generated when the
timebase count reaches a value programmed in one of the reference registers, TBREFA and
TBREFB; two status bits indicate which one caused the interrupt.
11.9.1 Timebase Register (TBU and TBL)
The timebase register (TB) holds a 64-bit integer that is incremented periodically. It is
implemented in two parts, time base upper and time base lower (TBU and TBL). There is
no automatic initialization of TB, therefore, system software must perform this
initialization. The contents of TB can be written by mtspr and read by mftb or mftbu
instruction. Figure 11-19 shows TBU. Note that the TBU and TBL are keyed registers.
They must be unlocked in TBK before they can be written.
Bit
0
1
2
3
4
5
6
7
8
9
É
30
31
Field
DEC
Reset
Ñ
R/W
R/W
SPR
22
Figure 11-18. Decrementer Register (DEC)
Table 11-15. DEC Field Descriptions
Bits
Name
Description
0Ð31
DEC
Decrementer. These bits are used by a down counter to cause decrementer interrupts. Reading DEC
always returns the current count value from the down counter.
Bit
0
1
2
3
4
5
6
7
8
9
É
30
31
Field
TBU
Reset
Ñ
R/W
R/W
SPR
269 (Read)/285 (Write)
Figure 11-19. Timebase Upper Register (TBU)
T
TB
264
F
tmbclk
------------------------
=
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......