Appendix A Watchdog Timer
83
==================================================**
** Title : WatchDog Timer Setup Utility (for W83977 GP13) **
** 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 13
#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);
}
void ExitConfigMode()
{
outportb(IO_INDEX_PORT, LOCK_DATA);
}
Summary of Contents for PCM-6894
Page 10: ...Appendix A WatchDog Timer 81 Appendix B Optional Extras 89...
Page 18: ...PCM 6894 8 PCM 6894 User ManualBC 599 596 Locating Jumpers Connectors...
Page 19: ...Chapter 2 Installation 9 Locating Jumpers Connectors...
Page 20: ...PCM 6894 1 0 PCM 6894 User ManualBC 599 596 Mechanical Drawing...
Page 21: ...Chapter 2 Installation 11 Mechanical Drawing...
Page 82: ...72 PCM 6894 User Manual...
Page 91: ...Appendix A Watchdog Timer 81 Watchdog Timer A P P E N D I X...
Page 98: ...88 PCM 6894 User s Manual...
Page 99: ...Appendix B Optional Extras 89 Optional Extras A P P E N D I X...