Swcnr Bit Settings; System Watchdog Service Register (Swsrr) - Freescale Semiconductor MPC8313E Family Reference Manual

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

Table 5-34
defines the bit fields of SWCNR.
Bits
Name
0–15
Write reserved, read = 0
16–31
SWCN Software watchdog count field. The read-only SWCNR[SWCN] field reflects the current value in the watchdog
counter. Writing to the SWCNR register has no effect, and write cycles are terminated normally. Reset
initializes the SWCNR[SWCN] field to 0xFFFF.
Note: Reading the 16 least-significant bits of 32-bit SWCNR register with two 8-bit reads is not guaranteed
to return a coherent value.
5.4.4.3

System Watchdog Service Register (SWSRR)

The system watchdog service register (SWSRR) is shown in
enabled, a write of 0x556C followed by a write 0xAA39 to the SWSRR register before the watchdog
counter times out prevents a device reset. If the SWSRR register is not serviced before the timeout, a signal
from the watchdog timer to the reset or interrupt controller module asserts a system reset or interrupt
(depending on the setting of SWCRR[SWRI]).
Both writes must occur before the timeout in the order listed, but any number of instructions can be
executed between the two writes. However, writing any value other than 0x556C or 0xAA39 to the
SWSRR register resets the servicing sequence, requiring both values to be written to keep the watchdog
timer from causing a reset. Reset initializes the SWSRR[WS] field to 0x0000. SWSRR can be written at
any time, but returns all zeros when read.
Offset 0xE
0
R
W
Reset
Table 5-35
defines the bit fields of SWCNR.
Bits
Name
0–15
WS
Software watchdog service field.
The user should periodically write 0x556C followed by 0xAA39 to this register to prevent a software watchdog
timer timeout. SWSRR[WS] can be written at any time, but returns all zeros when read.
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
Freescale Semiconductor
Table 5-34. SWCNR Bit Settings
Figure 5-21. System Watchdog Service Register (SWSRR)
Table 5-35. SWSRR Bit Settings
Description
Figure
5-21. When the watchdog timer is
WS
All zeros
Description
System Configuration
Access: Write only
15
5-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents