Com express board – DFI G5C900-B User Manual

Page 117

Advertising
background image

117

COM Express Board

NEWIODELAY

Macro

out

0EBh, al ;Dummy I/O output for delay

endM

.code

start:

call

W83627Hx_WDT

mov

ah, 4ch

int 21h

W83627Hx_WDT

Proc

near

;LDN8
;CRF5[3] :RW 0/1 = WDTO Second/Minute
;CRF5[2] :RW 0/1 = Keyboard Reset Low/High when WDTO
Timeout
;CRF6[7:0]:RW 00h = Disable , 01h~0FFh = 1~255 Sec/Min.
;CRF7[7] :RW 0/1 = Disable/Enable Mouse interrupt reset WDTO
counting.
;CRF7[6] :RW 0/1 = Disable/Enable Keyboard interrupt reset
WDTO counting.
;CRF7[5] :WO 1 = Force WDTO time out(Auto clear).
;CRF7[4] :RW 0/1 = WDTO time status TimeOut/Counting.
;CRF7[3:0]:RW 0~7 = Low IRQ for WDTO (Typical is 2, means
SMI).

mSuperio_Enter_Config

mSuperio_LDN_Select 08h

; PLED mode register, WDTO time unit as second, Keyboard reset
when WDTO time out

mSuperio_GetSet_Reg 0F5h, 11110111b, 00000100b

; , Disable MS/KB interrupt reset WDTO counting, IRQ2 for WDTO

mSuperio_GetSet_Reg 0F7h, 11111111b, 11000010b

; , WDTO Time out Value

mSuperio_Set_Reg 0F6h, WDT_Counter

Advertising
This manual is related to the following products: