74
Watchdog Timer
registerValue = inportb(IT87831);
registerValue |= 0x80;
tempCount = count_value;
if(tempCount != 0)
{
printf("WDT timeout in %d seconds.\n",
tempCount);
registerValue |= 0x40; //Enable WDT output
through KBRST
}
else
{
printf("WDT is Disabled.\n");
registerValue &= 0xbf; //Disable WDT output
through KBRST
}
outportb(IT87831, registerValue); // set
WDT count is second
}
outportb(IT8783_ioPort, 0x71);
registerValue = inportb(IT8783_ 1);
registerValue |= 0x60; // set Mouse & Keyboard
interrupt Enable
outportb(IT87831, registerValue);
outportb(IT8783_ioPort, 0x73);
outportb(IT87831, tempCount); // set WDT count
LSB
}
Summary of Contents for NuPRO-E72
Page 8: ...viii Table of Contents This page intentionally left blank...
Page 10: ...x List of Figures This page intentionally left blank...
Page 12: ...xii List of Tables This page intentionally left blank...
Page 34: ...22 Introduction This page intentionally left blank...
Page 46: ...34 Getting Started This page intentionally left blank...