Boser HS-3200/4M Manual page 16

Half 386sx single board
Table of Contents

Advertisement

443H
043H
The following programs are the examples of how to enable, disable and refresh
the Watch-Dog timer:
WDT_EN_RF
WDT_DIS
WT_Enable
WT_Rresh
WT_DISABLE
16
I/O Read
Enable/refresh the Watch -Dog
Timer.
I/O Read
Disable the Watch-Dog Timer.
EQU
0443H
EQU
0043H
PUSH
AX
PUSH
DX
MOV
DX,WDT_EN_RF
IN
AL,DX
POP
DX
POP
AX
RET
PUSH
AX
PUSH
DX
MOV
DX,WDT_ET_RF
IN
AL,DX
POP
DX
POP
AX
RET
PUSH
AX
PUSH
DX
MOV
DX,WDT_DIS;
IN
AL,DX
POP
DX
POP
AX
RET
;save AX, DX
;enable the watch-dog timer
;reco AX, DX
;save AX, DX
;refresh the watch-dog timer
;reco AX, DX
disable the watch-dog timer
;reco AX, DX

Advertisement

Table of Contents
loading

Table of Contents