88
SBC-558P User's Manual
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
WriteAData(0xF2, time_val);
// set counter counts in second (or minute)
// Register F4 Bit 6 = 0/1 (minutes/seconds)
// For w83977EF only
WriteAData(0xF4, 0x40);
ExitConfigMode();
}
Содержание SBC-558P
Страница 1: ...SBC 558P Half Size Tillamook MMX CPU Card With LCD Ethernet SSD...
Страница 15: ...6 SBC 558P User Manual Board layout i...
Страница 16: ...Chapter 1 General Information 7 Board dimensions...
Страница 17: ...8 SBC 558P User Manual Board dimensions...
Страница 21: ...1 2 SBC 558P Installation GuideBC 599 596 Locating jumpers i...
Страница 22: ...SBC 558P Installation Guide 13 Locating connectors...
Страница 92: ...A Watchdog Timer A P P E N D I X...