z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 99

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
Table 48. Watchdog Timer Control Register (WDTCTL)
Watchdog Timer Control Register Definitions
PS022517-0508
BITS
FIELD
RESET
R/W
ADDR
Reset or Stop Mode Recovery Event
Power-On Reset
Reset through RESET pin assertion
Reset through WDT time-out
Reset through the OCD (OCTCTL[1] set to 1)
Reset from STOP Mode through the DBG Pin driven Low
Stop Mode Recovery through GPIO pin transition
Stop Mode Recovery through WDT time-out
Watchdog Timer Control Register
POR
7
All three Watchdog Timer Reload Registers must be written in this order. There must be
no other register writes between each of these operations. If a register write occurs, the
lock state machine resets and no further writes occur unless the sequence is restarted. The
value in the Watchdog Timer Reload Registers is loaded into the counter when the WDT is
first enabled and every time a WDT instruction is executed.
The Watchdog Timer Control Register (WDTCTL), detailed in
Register that indicates the source of the most recent Reset event, a Stop Mode Recovery
event, and a WDT time-out. Reading this register resets the upper four bits to 0.
Writing 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.
POR—Power-On Reset Indicator
If this bit is set to 1, a POR event occurred. This bit is reset to 0, if a WDT time-out or
Stop Mode Recovery occurs. This bit is also reset to 0, when the register is read.
See descriptions below
STOP
6
55H
,
AAH
WDT
unlock sequence to the Watchdog Timer Control Register
5
EXT
4
FF0H
R
POR STOP WDT
3
1
0
0
1
1
0
0
Z8 Encore! XP
0
0
0
0
0
1
1
2
0
Reserved
Table
Product Specification
0
0
1
0
0
0
1
48, is a Read-Only
EXT
1
®
0
1
0
0
0
0
0
F0822 Series
Watchdog Timer
0
86

Related parts for z8f0822