Watchdog Timer Program Control
Functi on
Requirred
Action
Enable/refresh
the
Watch
-Dog
I/O
Read
444H
Programming Example
The following program is an examples of how to enable,
disable and refresh the Watchdog timer:
WDT_E N_RF EQU 04 44H
W D T_ DI S EQU 00 44 H
W T _E na bl e PU S H AX
;save AX DX
P U S H DX
MOV DX , WD T_ EN _ RF ;enable the watchdog
IN AL, DX
POP DX
;reco AX DX
P O P AX
R E T
W T _R re s h PU S H AX
;save AX DX
P U S H DX
MOV DX , WD T_ ET _ RF ;refresh the watchdog
IN AL, DX
POP DX
;reco AX, DX
P O P AX
R E T
WT_DI SAB LE PUSH AX
P U S H DX
MOV DX,WDT_DIS; disable the watchdog
IN AL, DX
POP DX
;reco AX, DX
P O P AX
R E T
10
3303955 User's Manual
Summary of Contents for 3303955
Page 1: ...User s Manual Single Board Computer 3303955 Version 1 1 June 2001 ...
Page 10: ...Board Layout Front VT82C596B S o u th b rid g e 1 4 3 1 8 6 3303955 User s Manual ...
Page 36: ...This page was intentionally left blank 32 3303955 User s Manual ...
Page 47: ...This page was intentionally left blank 3303955 User s Manual 43 ...