Peak 602VL User's Guide
Rev. B0
Dec. 2000
Apendix
After finishing the above setting, you must be output for the Control Register’s value to the WDT
Configuration Port. Then WDT will start according to the above setting.
MOV
MOV
MOV
MOV
dx, F2h ; Setting WDT Configuration Port
dx, F2h ; Setting WDT Configuration Port
dx, F2h ; Setting WDT Configuration Port
dx, F2h ; Setting WDT Configuration Port
OUT
OUT
OUT
OUT
dx,
al
dx, al
dx, al
dx, al
; Output the Control Register Value
; Output the Control Register Value
; Output the Control Register Value
; Output the Control Register Value
You should build in a mechanism in the program to continue to read the WDT Configuration Port for
clearing WDT before the time out.