Copyright © 2012 NEXCOM International Co., Ltd. All rights reserved
48
EBC 354 User Manual
Appendix A: Watchdog Timer
Appendix A: Watchdog Timer
WDT Programming Guide
EBC354 Watch Dog Function Configuration Sequence Description:
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
;Write operations to special address
port (2E) for entering MB PnP Mode.
mov
al, 07h
out
2eh, al
mov
al, 07h ;Select logical device for Watch Dog.
out
2fh, al
ret
SetupWDT ENDP
Step1. See “SetupWDT” procedure
#Setup Watchdog Timer Environment
Step2. See “TimeBaseWDT” procedure
#Ini
ti
al Watchdog Timer.
Users can select second or minute.
Step3. See “TimeCountWDT”
procedure
#Set Watchdog Timer Time-out Value.
Users can set
ti
me-out value.
Step4: See ExitSetup procedure
#Exit Setup Environment
(ref)
Star
tt
End