Z8 Microcontrollers
Instruction Descriptions and Formats
WDT
Watch-Dog Timer
WDT
Instruction Format:
Operation:
The WDT (Watch-Dog Timer) is a retriggerable one shot timer that will reset the Z8 if it reaches its terminal count.
The WDT is initially enabled by executing the WDT instruction. Each subsequent execution of the WDT instruction
refreshes the timer and prevents the WDT from timing out.
Flags:
C:
Unaffected
Z:
Undefined
S:
Undefined
V:
Undefined
D:
Unaffected
H:
Unaffected
Note:
The WDT instruction should not be used following any instruction in which the condition of the flags is important.
Example:
If the WDT is enabled, the statement:
refreshes the Watch-Dog Timer.
Example:
The first execution of the statement:
enables the Watch-Dog Timer.
12-78
WDT
Op Code: .BYTE 5FH
WDT
Op Code: .BYTE 5FH
ZiLOG
WDT
WATCH-DOG TIMER
UM001601-0803
Need help?
Do you have a question about the Z8 and is the answer not in the manual?