Appendix A: Programming The Watchdog Timer - Aaeon Gene-6320 Manual

Intel pentium iii low-power consumption subcompact board with lcd, lvds, ethernet, tv-out, audio and cfd.
Table of Contents

Advertisement

Watchdog Timer
Gene-6320 contains a watchdog timer reset pin. (GP16)
All reference material can be found as the following.
==================================================**
** Title : WatchDog Timer Setup Utility (for W83977 GP16) **
** Company : AAEON Technology Inc.
** Compiler : Borland C ++ Version 3.0
**==============================================================*/
#include <dos.h>
#include <io.h>
#include <bios.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
/* Set I/O Address : 370/371 or 3F0/3F1 */
#define IO_INDEX_PORT 3F0
#define IO_DATA_PORT 3F1
/* Set Watchdog reset pin : 12/13/16 */
#define watch_dog_output_GP16
#define UNLOCK_DATA
#define LOCK_DATA
#define DEVICE_REGISTER 0x07
void EnterConfigMode()
{
outportb(IO_INDEX_PORT, UNLOCK_DATA);
outportb(IO_INDEX_PORT, UNLOCK_DATA);
}
void ExitConfigMode()
{
outportb(IO_INDEX_PORT, LOCK_DATA);
}
92
Gene-6320 User Manual
0x87
0xAA
**
**

Advertisement

Table of Contents
loading

Table of Contents