Watchdog Timer
73
NuPRO-E72
outportb(IT87831, registerValue);
outportb(IT8783_ioPort, 0xf8);
outportb(IT87831, 0x1f);// PLED mapping to
GP37
outportb(IT8783_ioPort, 0xf9);
registerValue = inportb(IT8783_ 1);
registerValue |= 0x02;
registerValue &= 0xfb;
outportb(IT87831, registerValue);
}
outportb(IT8783_ioPort, 0x71);
registerValue = inportb(IT8783_ 1);
registerValue &= 0xfe;
outportb(IT87831, registerValue);
outportb(IT8783_ioPort, 0x72);
registerValue = inportb(IT8783_ 1);
registerValue &= 0xdf;
outportb(IT87831, registerValue);
if(count_value >= 60)
{
outportb(IT8783_ioPort, 0x72);
registerValue = inportb(IT87831);
registerValue &= 0x8f;
registerValue |= 0x40; //enable WDT output through
PRST
outportb(IT87831, registerValue); // set
WDT count is minute
tempCount = count_value / 60;
if((count_value%60) > 30)
te+;
if(tempCount > 65535)
tempCount = 65535;
printf("WDT timeout in %d minutes.\n", tempCount);
}
else
{
outportb(IT8783_ioPort, 0x72);
Содержание NuPRO-E72
Страница 8: ...viii Table of Contents This page intentionally left blank...
Страница 10: ...x List of Figures This page intentionally left blank...
Страница 12: ...xii List of Tables This page intentionally left blank...
Страница 34: ...22 Introduction This page intentionally left blank...
Страница 46: ...34 Getting Started This page intentionally left blank...
Страница 75: ...63 NuPRO E72 Integrated Clock Chip Configuration ICC Enable Integrated Clock Chip Options Enabled Disabled...
Страница 82: ...70 the current boot order If you are booting to the EFI Shell an exit from the shell returns to Setup...