C o m p a c t B o a r d
P C M - 6 8 9 3
Appendix A Pr ogramming the Watchdog Timer
A
-3
outportb(IO_INDEX_PORT, UNLOCK_DATA);
}
void ExitConfigMode()
{
outportb(IO_INDEX_PORT, LOCK_DATA);
}
void SelectDevice(unsigned char device)
{
outportb(IO_INDEX_PORT, DEVICE_REGISTER);
outportb(IO_DATA_PORT, device);
}
unsigned char ReadAData(short int reg)
{
outportb(IO_INDEX_PORT, reg);
return (inportb(IO_DATA_PORT));
}
void WriteAData(unsigned char reg, unsigned char data)
{
outportb(IO_INDEX_PORT, reg);
outportb(IO_DATA_PORT, data);
}
void SetWatchDogTime(unsigned char time_val)
{
EnterConfigMode();
SelectDevice(8);
Summary of Contents for PCM-6893
Page 1: ...PCM 6893 Socket 370 based Tualatin Pentium III Celeron Comopact Board W LCD Ethernet Audio CFD...
Page 8: ...Compact Board P C M 6 8 9 3 Chapter 1 General Information 1 1 General Information Chapter 1...
Page 45: ...Compact Board P C M 6 8 9 3 Chapter 3 Award BIOS Setup 3 1 Award BIOS Setup Chapter 3...
Page 59: ...Compact Board P C M 6 8 9 3 Chapter 4 Driver Installation 4 1 Driver Installation Chapter 4...