Download USER`S MANUAL

Transcript
TIMERS and TIMER/COUNTER
KS57C3316/P3316
F PROGRAMMING TIP — Using the Watchdog Timer
RESET
DI
BITS
SMB
LD
LD
EMB
15
EA,#00H
SP,EA
•
•
•
LD
LD
A,#0CH
BMOD,A
; WDCNT input clock is 7.28 ms
•
•
•
MAIN
BITS
WDTCF
•
•
•
JP
11-8
MAIN
; Main routine operation period must be shorter than
; watchdog
; timer’s period