© National Instruments Corporation C-1 TPC-2012 User Manual
C

Watchdog Timer Programming

This appendix explains the TPC-2012 watchdog timer programming.

Overview

You can use the TPC-2012 watchdog timer to monitor system software
operation and take corrective action if the software fails to function after the
programmed period. This appendix describes how to program the
watchdog timer operation.
The watchdog timer is built into the W83627HF I/O controller. It includes
the following programmable functions:
You can enable and disable the timer via programming.
You can set the timer interval from 1 to 255 seconds or 1 to
255 minutes.
The timer generates an interrupt or resets the signal if the software fails
to reset the timer after a timeout.

Watchdog Timer Programming

The watchdog timer I/O port address is 2E (hex) (the address port) and
2F(hex) (the data port). You must first assign the register address by
writing the address value to address port 2E (hex), then write/read data
to/from the assigned register through data port 2F (hex).