6. Watch-Dog-Timer (WDT) Setting
SPC-8450-LVA
35
;------------------------------------------
;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
;------------------------------------------------------
;Set time of WDT and start to count down
;------------------------------------------------------
MOV DX,2EH
MOV AL,F6H
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
Summary of Contents for SPC-8450-LVA
Page 7: ...vi SPC 8450 LVA...
Page 31: ...3 Hardware Installations 24 SPC 8450 LVA...
Page 37: ...4 Jumper Setting 30 SPC 8450 LVA...