NEXCOM PEAK 876VL2 User Manual
Page 60
Copyright © 2011 NEXCOM International Co., Ltd. All Rights Reserved.
47
PEAK 876VL2/877VL2 User Manual
Appendix A: Watchdog Timer Setting
SetupWDT PROC
mov
dx, 2eh
mov
al, 087h
out
dx, al
nop
nop
out
dx, al
;Write operations to special address port
(2E) for entering MB PnP Mode.
mov
al, 07h
out
2eh, al
mov
al, 08h ;Select logical device for Watch Dog.
out
2fh, al
ret
SetupWDT ENDP
===============================================
TimeBaseWDT
PROC
mov
al, 0F5h
out
2eh, al
mov
al, 04h ; Here!! set 04h for second, set 0Ch for
minute(WDT output through WDTO)
out
2fh, al
ret
TimeBaseWDT ENDP
===============================================
TimeCountWDT PROC
mov
al, 0F6h ;WDT Time-out register.
out
2eh, al
mov
al, 03h ;Here!! Set count 3.
out
2fh, al
ret
TimeCountWDT ENDP
===============================================
ExitSetup PROC
mov
al, 0AAh
out
2eh, al
ret
ExitSetup ENDP
===============================================