3 disabling the wdt – Intel 386 User Manual

Page 501

Advertising
background image

Intel386™ EX EMBEDDED MICROPROCESSOR USER’S MANUAL

17-6

To change the reload value, write the new values to the WDTRLDH and WDTRLDL
registers, as described in steps 1 and 2 above.

To disable or enable bus monitor mode, write to the bus monitor bit (BUSMON):

— 0 = disabled

— 1 = enabled

17.3 DISABLING THE WDT

If your system has no need for the WDT, when the unit is in bus monitor or general-purpose timer
mode, you can disable the unit by setting the CLKDIS bit in the WDTSTATUS register (Figure
17-3
), which stops the clock to the WDT. In this configuration, the WDT consumes minimal pow-
er, but you can re-enable the unit at any time.

If the WDT is in watchdog mode, you cannot write to the WDTSTATUS register to stop the clock
and therefore cannot disable the unit.

Advertising