Aaeon PCM-6892 Rev.B Manual page 63

Intel ulv celeron 400 / 650 mhz processor compact board with lcd, ethernet, tv-out, mini pci, speaker out
Hide thumbs Also See for PCM-6892 Rev.B:
Table of Contents

Advertisement

C o m p a c t B o a r d
P C M - 6 8 9 2 R e v . B
==================================================**
** 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 0x370
#define IO_DATA_PORT 0x371
/* Set Watchdog reset pin : 12/13/16 */
#define watch_dog_output_GP 16
#define UNLOCK_DATA 0x87
#define LOCK_DATA 0xAA
#define DEVICE_REGISTER 0x07
void EnterConfigMode()
{
outportb(IO_INDEX_PORT, UNLOCK_DATA);
outportb(IO_INDEX_PORT, UNLOCK_DATA);
}
B-3
Appendix B Programming the Watchdog Timer

Advertisement

Table of Contents
loading

Table of Contents