Nexcom PEAK 6320A User Manual page 90

Single board computer
Table of Contents

Advertisement

PEAK 6320A Series User's Guide
i.e. D3=0, Disable the WDT
AND
al, 11110111b ; Disable the WDT
i.e. D3=1, Enable the WDT
OR
al, 00001000b ; Enable the WDT
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
dx, F2h
OUT
dx, al
• You should build in a mechanism in the program to continue to read the WDT
Configuration Port for clearing WDT before the time out.
Watch Dog Timer
; Setting WDT Configuration Port
; Output the Control Register Value
A1-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents