Appendix A: Watchdog Timer
Appendix A: Watchdog Timer
WDT Programming Guide
NViS 2280 Watch Dog Function Configuration Sequence Description:
Step1. See "SetupWDT" procedure
#Setup Watchdog Timer Environment
Step2. See "TimeBaseWDT" procedure
#Initial Watchdog Timer.
Users can select second or minute.
Step3. See "TimeCountWDT"
procedure
#Set Watchdog Timer Time-out Value.
Users can set time-out value.
Step4: See ExitSetup procedure
#Exit Setup Environment
Copyright © 2012 NEXCOM International Co., Ltd. All rights reserved
Star
t
(ref)
End
===============================================
SetupWDT
PROC
mov
dx, 2eh
mov
al, 087h
out
dx, al
nop
nop
out
dx, al
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, 02h ;Set WDT reset upon KBRST#
or
al, 00h ;Here!! set 00h for second, set 08h for minute
78
NViS 2280 User Manual
Need help?
Do you have a question about the NViS 2280 and is the answer not in the manual?