Appendix; Watchdog Programming Guide - EVOC EC0-1814 User Manual

High-performance embedded atx motherboard
Table of Contents

Advertisement

Appendix

Appendix

Watchdog Programming Guide

The board provides a programmable watchdog timer (WDT) up to 255 levels and
timed by minute or second. Watchdog timeout event can be programmed to reset
system or generate maskable interrupts.
The available IRQ numbers for this board are: 3, 4, 5, 7, 9, 10 and 11.
Please modify the corresponding IRQ number in PCIPnP of BIOS Setup
interface into "Reserved" before using.
The following describes WDT program in C language. The steps to program WDT are
listed as follows:
 Enter WDT programming mode;
 Set WDT operating mode/enable WDT/disable WDT.
(1) Enter WDT Programming Mode
/*
Description: the function, PreInitWDT, is used to initialize the registers relevant
to WDT; please invoke the function before configuring and using WDT.
Input: none
Output: none
Note: none
*/
#define
#define
VOID PreInitWDT()
{
outportb(INDEX_PORT, 0x87);
outportb(INDEX_PORT, 0x87);
outportb(INDEX_PORT, 0x07);
INDEX_PORT 0x2E
DATA_PORT
EC0-1814(B)
0x2F
- 43 -

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EC0-1814 and is the answer not in the manual?

This manual is also suitable for:

Ec0-1814b

Table of Contents