Specifications

Table Of Contents
II-14 EPSON S1C62740 TECHNICAL SOFTWARE
CHAPTER 6: PERIPHERAL CIRCUITS (Watchdog Timer)
Example program
for the watchdog
timer
Following program shows the reset procedure for watchdog timer.
Label Mnemonic/operand Comment
;*
;* RESET WATCHDOG TIMER
;*
ZWDOG EQU 0E5H ;WATCHDOG ADDRESS
WDRST EQU 1000B ;WATCHDOG RESET BIT
;
LD X,ZWDOG ;SET WATCHDOG ADDRESS
OR MX,WDRST ;RESET WATCHDOG TIMER
;
(1) The watchdog timer must be reset within 3-second cycles.
Because of this, the watchdog timer data (WD0, WD1) cannot be
used for clocking of 3 seconds or more.
(2) When clock timer resetting (TMRST"1") is performed, the
watchdog timer is also reset.
Programing notes