Watchdog Timer
77
NuPRO-E330
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);
Summary of Contents for NuPRO-E330
Page 6: ...vi Preface This page intentionally left blank ...
Page 10: ...x Table of Contents This page intentionally left blank ...
Page 12: ...xii List of Figures This page intentionally left blank ...
Page 14: ...xiv List of Tables This page intentionally left blank ...
Page 40: ...26 Hardware Information This page intentionally left blank ...
Page 48: ...34 Getting Started This page intentionally left blank ...
Page 88: ...74 BIOS Setup This page intentionally left blank ...