beautypg.com

NEXCOM EBC 354 User Manual

Page 62

background image

Copyright © 2012 NEXCOM International Co., Ltd. All rights reserved

49

EBC 354 User Manual

Appendix A: Watchdog Timer

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

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