78
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
}
Содержание NuPRO-E330
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 10: ...x Table of Contents This page intentionally left blank ...
Страница 12: ...xii List of Figures This page intentionally left blank ...
Страница 14: ...xiv List of Tables This page intentionally left blank ...
Страница 23: ...Introduction 9 NuPRO E330 1 6 Mechanical Drawing Figure 1 2 NuPRO E330 Board Dimensions Dimensions in mm ...
Страница 40: ...26 Hardware Information This page intentionally left blank ...
Страница 48: ...34 Getting Started This page intentionally left blank ...
Страница 88: ...74 BIOS Setup This page intentionally left blank ...