Caution – Contec SPI-8451-LVA User Manual

Page 81

Advertising
background image

7. Watch-Dog-Timer (WDT) Setting

74

SPI-8451-LLVA, SPI-8452-LLVA, SPI-8451-LVA

;==============
;<WDT STOP>
;==============
;-----------------------------------
;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
;-----------------------------------
;Stop count down of WDT
;-----------------------------------
MOV DX,2EH
MOV AL,F6H
OUT DX,AL
MOV DX,2FH
;-----------------------------------
;The data of 00H is stop WDT
MOV AL,00H
;-----------------------------------
OUT DX,AL
;-----------------------------------
;Exit the extended function mode
;-----------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL

CAUTION

The timer’s intervals have a tolerance of

±2 seconds.

Advertising
This manual is related to the following products: