TIMERS and TIMER/COUNTERS

KS57C2308/P2308/C2316/P2316

 

 

+PROGRAMMING TIP — Using the Watchdog Timer

RESET

DI

 

 

 

 

BITS

EMB

 

 

 

SMB

15

 

 

 

LD

EA,#00H

 

 

 

LD

SP,EA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LD

A,#0DH

;

WDCNT input clock is 7.82 ms

 

LD

BMOD,A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MAIN

BITS

WDTCF

;

Main routine operation period must be shorter than

 

 

 

;

watchdog

 

 

;

timer’s period

 

 

 

 

 

 

 

 

 

JP

MAIN

 

 

11-8

Page 230
Image 230
Samsung KS57C2308 manual + Programming TIP Using the Watchdog Timer, Reset Bits EMB SMB, BMOD,A Main Bits Wdtcf