Appendix A Watchdog Timer
93
==================================================**
** 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);
}
void ExitConfigMode()
{
outportb(IO_INDEX_PORT, LOCK_DATA);
}
Содержание PCM-6892 Rev.B
Страница 18: ...8 PCM 6892 Installation GuideBC PCM 6892 Locating Jumpers Connectors ...
Страница 19: ...PCM 6892 Installation Guide 9 Quick Installation Guide Locating Jumpers Connectors ...
Страница 20: ...10 PCM 6892 Installation GuideBC PCM 6892 Mechanical Drawing ...
Страница 21: ...PCM 6892 Installation Guide 11 Quick Installation Guide Mechanical Drawing ...
Страница 98: ...Appendix A Watchdog Timer 91 A WatchDog Timer A P P E N D I X ...
Страница 105: ...Appendix B Optional Extras 99 B Optional Extras A P P E N D I X Appendix B pmd 2003 10 21 09 21 上午 99 ...