Register Model
e200z3 Power Architecture Core Reference Manual, Rev. 2
Freescale Semiconductor
2-31
The TSR fields are described in
NOTE
The TSR can be read using mfspr rD,TSR. The TSR cannot be directly
written. Instead, TSR bits corresponding to 1 bits in GPR(rS) can be cleared
using mtspr TSR,rS.
2.11.3
Time Base (TBU and TBL)
The time base (TB), seen in
, is composed of two 32-bit registers, the time base upper (TBU)
concatenated on the right with the time base lower (TBL). The time base registers provide timing functions
32
33
34
35
36
37
38
63
Field ENW WIS
WRS
DIS
FIS
—
Reset
0b(00||WRS)_0000_0000_0000_0000_0000_0000_0000
R/W
Read/Clear
SPR
SPR 336
Figure 2-25. Timer Status Register (TSR)
Table 2-16. Timer Status Register Field Descriptions
Bits
Name
Description
32
ENW Enable next watchdog time. When a watchdog timer time-out occurs while WIS = 0 and the next watchdog
time-out is enabled (ENW = 1), a watchdog timer exception is generated and logged by setting WIS. This is a
watchdog timer first time out. A watchdog timer interrupt occurs if enabled by TCR[WIE] and MSR[CE]. To avoid
another watchdog timer interrupt when MSR[CE] is reenabled (assuming TCR[WIE] is not cleared instead), the
interrupt handler must reset TSR[WIS] by executing an
mtspr
, setting WIS and any other bits to be cleared and
a 0 in all other bits. The data written to the TSR is not direct data, but is a mask. A 1 causes the bit to be cleared;
a 0 has no effect.
0 Action on next watchdog timer time-out is to set TSR[ENW].
1 Action on next watchdog timer time-out is governed by TSR[WIS].
33
WIS
Watchdog timer interrupt status. See the ENW description for details on how WIS is used.
0 No watchdog timer event.
1 A watchdog timer event. When MSR[CE] = 1 and TCR[WIE] = 1, a watchdog timer interrupt is taken.
34–35
WRS
Watchdog timer reset status.
00 No second time-out of watchdog timer.
01 Force processor checkstop on second time-out of watchdog timer.
10 Assert processor reset output (
p_resetout_b
)
on second time-out of watchdog timer.
11 Reserved.
36
DIS
Decrementer interrupt status.
0 No decrementer event.
1 Decrementer event. When MSR[EE] = TCR[DIE] = 1, a decrementer interrupt is taken.
37
FIS
Fixed-interval timer interrupt status.
0 No fixed-interval timer event.
1 Fixed-interval timer event. When MSR[EE] = 1 and TCR[FIE] = 1, a fixed-interval timer interrupt is taken.
38–63
—
Reserved, should be cleared.
Содержание e200z3
Страница 1: ...e200z3 Power Architecture Core Reference Manual Supports e200z3 e200z335 e200z3coreRM Rev 2 06 2008 ...
Страница 32: ...e200z3 Power Architecture Core Reference Manual Rev 2 xii Freescale Semiconductor ...
Страница 50: ...Register Model e200z3 Power Architecture Core Reference Manual Rev 2 2 2 Freescale Semiconductor ...
Страница 238: ...Memory Management Unit e200z3 Power Architecture Core Reference Manual Rev 2 5 16 Freescale Semiconductor ...
Страница 332: ...Power Management e200z3 Power Architecture Core Reference Manual Rev 2 8 4 Freescale Semiconductor ...
Страница 424: ...Revision History e200z3 Power Architecture Core Reference Manual Rev 2 A 2 Freescale Semiconductor ...