—
Appendix
—
SPT-100A22TP01, SPT-100A22TP02 Reference Manual (Hardware)
- 87 -
;-----------------------------------
;Stop WDT
;-----------------------------------
MOV DX,2EH
MOV AL,F1H
OUT DX,AL
MOV DX,2FH
MOV AL,00H
OUT DX,AL
;------------------------------------------
;Exit the extended function mode
;------------------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
;================================
;<WDT START : counter set and a start >
;================================
;---------------------------------------------
;Enter the extended function mode
;---------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
;------------------------------------------------
;Select logical device WDT(number 8)
;------------------------------------------------
MOV DX,2EH
MOV AL,07H
OUT DX,AL
MOV DX,2FH
MOV AL,08H
OUT DX,AL