17-7
WATCHDOG TIMER UNIT
17.4 REGISTER DEFINITIONSThis section describes the registers assoc iated wi th the WDT, and explains how these registerscan be used to enable and use each WDT mode.Table 17-2 describes the registers associated with the WDT.

Table 17-2. WDT Registers

Register Address Description

WDTCLR 0F4C8H Watchdog Timer Clear:
Write the lockout sequence to this locati on. Circuitry at this address decodes
the lockout sequence to enable watchdog mode, reload the counter, or both.
This location is used only for watchdog mode.
WDTCNTH
WDTCNTL
(read only)
0F4C4H
0F4C6H WDT Counter:
These registers hold the current value of the WDT down-counter. Software
can read them to determine the curr ent count value. Any reload event
reloads these registers with the contents of WDTRLDH and WDTRLDL.
WDTRLDH
WDTRLDL
(read/write)
0F4C0H
0F4C2H WDT Reload Valu e:
Write the reload value to these registers, using two word writes. After a
lockout sequence is issued, these registers cannot be written aga in until after
a device reset. A reload event (each WDT mode has its own; refer to
Sections 17.2.2 through 17.2.4) reloads WDTCNTH and WDT CNTL with the
contents of these registers.
WDTSTATUS
(read/write)
0F4CAH WDT Status:
This register conta ins one read-only bi t (WDTEN) that in dicates whether
watchdog mode is enabled and two r ead/write bits that control bus monit or
mode and the WDT clock. A lockout sequence sets the WDTEN bit and
clears the two read/write bits, disabling bus monitor mode and enabling the
WDT clock. After a lockout sequence is issued, a write to this reg ister has no
effect unless the device is reset.
Software can read this register to determine the current status of the WDT
and (unless a lockout sequence has been issued) can set the BUSMON bit to
enable bus monitor mode or set the CL KDIS bit to disable the WDT.
PWRCON
(read/write)
0F800H Power Control register:
This register holds the WDTRDY bit that is used to enable/disable internal
READY# generation for the WDT Bus Monitor mode.