98
SBC-556 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-556/L
Страница 1: ...SBC 556 L Half size CPU Card with LCD Ethernet SSD ...
Страница 15: ...Chapter 1 General Information 7 Board layout 5582 SIS B 6 9 0 0 0 CHIPS Winbond BAT DiskOnChip ...
Страница 16: ...8 SBC 556 L User Manual Card dimensions 185 00 178 00 122 00 98 50 19 50 D4x4 ...
Страница 64: ...56 SBC 556 L User Manual Chipset features setup ...
Страница 84: ...76 SBC 556 L User Manual ...
Страница 101: ...A Watchdog Timer A P P E N D I X ...