Watchdog Timer Trigger; Watchdog Timer Disabled - FabiaTech FX5638 Series User Manual

Small cube series, fanless series
Hide thumbs Also See for FX5638 Series:
Table of Contents

Advertisement

FabiaTech Corporation
Mov
al,28h
Out
dx,al
;------------------------------------------
; Exit extended function mode
;------------------------------------------
Mov
dx,2eh
Mov
al,01h
Out
dx,al

Watchdog Timer Trigger

After you enable the watchdog timer, your program must write the same factor as
enabling to the watchdog register at least once every time-out period to its
previous setting. You can change the time-out period by writing another timer
factor to the watchdog register at any time, and you must trigger the watchdog
before the new time-out period in next trigger.

Watchdog Timer Disabled

To disable the watchdog timer, simply write a 00H to the watchdog register.
;--------------------------------------------------------------------------------------------------------------
; Logical device 7, configuration registers Index 72h Bit 4
;--------------------------------------------------------------------------------------------------------------
Mov
dx,2fh
Mov
al,07h
Out
dx,al
Mov
dx,2eh
Mov
al,72h
Out
dx,al
Mov
dx,2fh
And
al,00h
Out
dx,al
; Set timeout interval as 28seconds and start counting
; Select Logical Device 7 of watchdog timer
;Index 72h- Time-Out Value and Watchdog Register
;Set Bit4 to '0': Disabled Watchdog.
61

Advertisement

Table of Contents
loading

Table of Contents