Programming The Watchdog Timer - Advantech PCA-6153 Manual

Half-size pentium cpu card with vga controller
Table of Contents

Advertisement

Programming the Watchdog Timer

If you decide to program the watchdog timer, you must create a
program which writes I/O port address 443 (hex). The output data
is a value timer. You can write from 01 (hex) to 3F(hex), and the
related timer is 1 sec. to 63 sec.
After data entry, your program must refresh the watchdog timer by
rewriting the I/O port 443 (hex) while simultaneously setting it.
When you want to disable the watchdog timer, your program
should read I/O port 043 (hex).
The following is an example of a program for the watchdog timer:
Step 1 Out 443h data REM Start and reset the watchdog timer
Step 2 Your application task #1
Step 3 Out 443h, data REM Reset the timer
Step 4 Your application task #2
Step 5 Out 443h, data REM Reset the timer
Step 6 in 043h, REM Disable the watchdog timer
Data Values
01
1 sec.
02
2 sec.
03
3 sec.
04
4 sec.
.
.
.
3F
63 sec.
64
PCA-6153 User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents