FabiaTech Corporation
Watchdog Timer Enabled
To enable the watchdog timer, you have to output a byte of timer factor to the
watchdog register whose address is 2eh and data port is 2fH. The following is an
Assemble program, which demonstrates how to enable the watchdog timer and
set the time-out period at 28 seconds.
;------------------------------------------------------------------------------------------
; Enter the extended function mode
;------------------------------------------------------------------------------------------
Mov
dx, 2eh
; Enter to extended function mode
Mov
al, 87h
Out
dx,al
Nop
Nop
Mov al,01h
Out
dx,al
Nop
Nop
Mov al,55h
Out dx,al
Nop
Nop
Mov al,55h
Out dx,al
Mov al,22
Out dx,al
Mov
dx,2fh
Mov al,00h
Out dx,al
;--------------------------------------------------------------------------------------------------------------
; Logical device 7, configuration registers Index 72h-Bit 7, 73H (LSB)/74H (MSB)
;--------------------------------------------------------------------------------------------------------------
Mov
dx,2fh
Mov
al,07h ;
Select Logical Device 7 of watchdog timer
Out
dx,al
Mov
dx,2eh
Mov
al,72h
;Index 72h- Time-Out Value and Watchdog Register
Out dx,al
Mov dx,2fh
Or
al,90h
;Set Bit 7 is 1: Second and Bit4: Enabled Watchdog.
;Or al,10h
;Set Bit 7 is 0: Minute.
Out dx,al
Mov dx,2eh
Mov
al,74h
; Set Timer counter 0100~FF00 (MSB)
Out dx,al
Mov dx,2fh
Mov al,00h
Out dx,al
Mov dx,2eh
Mov
al,73h
; Set Timer counter 0001~00FF (LSB)
Mov dx,2fh
62
Summary of Contents for FX5653
Page 15: ...FabiaTech Corporation g3 FX5622K1 Rack Mount 11 ...
Page 42: ...FabiaTech Corporation Host Bridge Host Bridge Parameters 38 ...
Page 45: ...FabiaTech Corporation South Bridge South Bridge Parameters 41 ...
Page 69: ...FabiaTech Corporation Exit extended function mode Mov dx 2eh Mov al aah Out dx al 65 ...
Page 82: ...FabiaTech Corporation Appendix Dimension a FX5653 250 REF 50 REF 180 REF 78 ...
Page 83: ...FabiaTech Corporation b FX5504K1 61 2 REF 118 REF 75 100 19 REF 7 75 100 75 REF 12 5 8 79 ...
Page 84: ...FabiaTech Corporation c FX5501K1 278 REF 264 REF 58 REF 37 47 140 90 REF 8 10 80 ...
Page 85: ...FabiaTech Corporation 81 d FX5622K1 455 REF 469 REF 480 REF 31 75 44 50 REF ...