23
3.20 Watchdog Timer
Once the Enable cycle is active, a Refresh cycle is requested before
the time-out period. This restarts counting of the WDT period. When
the time counting goes over the period preset of WDT, it will assume
that the program operation is abnormal. A System Reset signal will
re-start when such error happens.
The following sample programs show how to Enable, Disable and
Refresh the Watchdog Timer:
;----------------------------------------------------------------------------------
; Enter the WDT function mode, interruptible double-write
;----------------------------------------------------------------------------------
MOV DX,
2EH
MOV AL,
87H
OUT DX,
AL
OUT DX,
AL
MOV DX,
2EH
MOV AL,
07H
OUT
DX, AL
MOV DX,
2FH
MOV AL,
08H
OUT
DX, AL
MOV
DX, 2EH
MOV AL,
F5H
OUT
DX, AL
; select CRF0
MOV DX,
2FH
MOV AL,
80H
OUT DX,
AL
MOV DX,
2EH
MOV
AL, F7H
OUT DX,
AL
MOV
DX, 2FH
MOV AL,
00H
OUT
DX, AL
MOV DX,
2EH
MOV AL,
F6H
OUT DX,
AL
MOV
DX, 2FH
MOV
AL, 00H
; * 00H=Disabled
OUT DX,
AL
;---------------------------------------------------------------------------------
; Exit extended function mode
;------------- -------------------------------------------------------------------
MOV DX,
2EH
MOV AL,
AAH
OUT
DX, AL
Summary of Contents for HS-7002
Page 6: ......
Page 10: ...4 1 3 Board Dimensions...
Page 14: ...8 3 2 Board Layout...
Page 48: ...42 This Page is intentionally left blank...
Page 50: ...44 2 Click on the ICH5 Driver button to continue 3 Click on the Windows 9X button to continue...
Page 68: ...62 2 Click on the AUDIO Driver button to continue 3 Click on the OS button which you use...