Nexcom APPC 1230T User Manual page 127

Applied panel pc
Table of Contents

Advertisement

Appendix C: Watchdog Programming Guide
===============================================
SetupWDT
PROC
mov
dx, 2eh
mov
al, 087h
out
dx, al
nop
nop
mov
al, 01h
out
dx, al
nop
nop
mov
al, 55h
out
dx, al
nop
nop
out
dx, al
mov
al, 07h
out
2eh, al
mov
al, 07h
out
2fh, al
ret
SetupWDT
ENDP
===============================================
TimeBaseWDT
PROC
mov
al, 72h
out
2eh, al
mov
al, 10h ;Set WDT reset upon PWROK
or
al, 80h ;Here!! set 80h for second, set 00h for minute
Copyright © 2012 NEXCOM International Co., Ltd. All Rights Reserved.
;Write operations to special address
port (2E) for entering MB PnP Mode.
;Select logical device for Watch Dog.
out
2fh, al
ret
TimeBaseWDT
ENDP
===============================================
TimeCountWDT PROC
mov
al, 73h ;WDT Time-out register.
out
2eh, al
mov
al, 03h ;Here!! Set count 3.
out
2fh, al
ret
TimeCountWDT ENDP
===============================================
ExitSetup
PROC
mov
al, 02h
out
2eh, al
mov
al, 02h
out
2fh, al
ret
ExitSetup
ENDP
===============================================
111
APPC 1230T/1231T/1235T/1530T/1531T/1730T/1731T/1930T/1931T User Manual

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPC 1230T and is the answer not in the manual?

Table of Contents