Aaeon PCM-6892 Rev.B Manual page 64

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
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);
//Set Register F2
//Set Watch-Dog Timer 1~ 256
B-4
Appendix B Programming the Watchdog Timer

Advertisement

Table of Contents
loading

Table of Contents