6. Appendix
;================================
;<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
;--------------------------------------------------
;Set time of WDT and start to count down
;--------------------------------------------------
MOV DX,2EH
MOV AL,F1H
OUT DX,AL
MOV DX,2FH
;----------------------------------------------------------------------------------
;The data of an example is 15 seconds.(01H=1sec.- FFH=255sec.)
MOV AL,0FH
; 0FH = 15Sec.
;-----------------------------------------------------------------------------------
OUT DX,AL
;----------------------------------------
;Exit the extended function mode
;----------------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
80
PT-956SxX Series User's manual
Need help?
Do you have a question about the IPC Series and is the answer not in the manual?