z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 98

no-image

z8f0822

Manufacturer Part Number
z8f0822
Description
High Performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f0822PJ020SG
Manufacturer:
Zilog
Quantity:
45
Part Number:
z8f0822SJ020SG
Manufacturer:
Zilog
Quantity:
567
PS022517-0508
Watchdog Timer Reload Unlock Sequence
WDT Reset in Normal Operation
If configured to generate a Reset when a time-out occurs, the WDT forces the device into
the Reset state. The WDT status bit in the WDT Control Register is set to 1. For more infor-
mation on Reset, see
WDT Reset in STOP Mode
If enabled in STOP mode and configured to generate a Reset when a time-out occurs
and the device is in STOP mode, the WDT initiates a Stop Mode Recovery. Both the
WDT status bit and the STOP bit in the WDT Control Register is set to 1 following
WDT time-out in STOP mode. For more information on Reset, see
Recovery
during STOP mode.
WDT RC Disable in STOP Mode
To minimize power consumption in STOP mode, the WDT and its RC oscillator can be
disabled in STOP mode. The following sequence configures the WDT to be disabled when
the Z8F082x family device enters STOP mode following execution of a
1. Write
2. Write
3. Write
Writing the unlock sequence to the WDTCTL address unlocks the three Watchdog Timer
Reload Byte Registers (WDTU, WDTH, and WDTL) to allow changes to the time-out
period. These write operations to the WDTCTL address produce no effect on the bits in
the WDTCTL. The locking mechanism prevents spurious writes to the Reload Registers.
The following sequence is required to unlock the Watchdog Timer Reload Byte Registers
(WDTU, WDTH, and WDTL) for write access.
1. Write
2. Write
3. Write the Watchdog Timer Reload Upper Byte Register (WDTU).
4. Write the Watchdog Timer Reload High Byte Register (WDTH).
5. Write the Watchdog Timer Reload Low Byte Register (WDTL).
and its oscillator to be disabled during STOP mode. Alternatively, write
Watchdog Timer Control Register (WDTCTL) as the third step in this sequence to
reconfigure the WDT and its oscillator to be enabled during STOP mode. This
sequence only affects WDT operation in STOP mode.
on page 39. Default operation is for the WDT and its RC oscillator to be enabled
81H
55H
AAH
55H
AAH
to the Watchdog Timer Control Register (WDTCTL) to configure the WDT
to the Watchdog Timer Control Register (WDTCTL).
to the Watchdog Timer Control Register (WDTCTL).
to the Watchdog Timer Control Register (WDTCTL).
to the Watchdog Timer Control Register (WDTCTL).
Reset and Stop Mode Recovery
on page 39.
Z8 Encore! XP
Product Specification
Reset and Stop Mode
STOP
®
F0822 Series
Watchdog Timer
00H
instruction:
to the
85

Related parts for z8f0822