68
Watchdog Timer
outportb(IT87121, 0x02);
}
void Get_IT8712_ID(unsigned int &ID1, unsigned int &ID2)
{
outportb(IT8712_ioPort, 0x20);
ID1 = inportb(IT87121);
outportb(IT8712_ioPort, 0x21);
ID2 = inportb(IT87121);
}
void IT8712_WDTRun(unsigned int count_value)
{
unsigned int tempCount, registerValue;
outportb(IT8712_ioPort, 0x07);
outportb(IT87121, 0x07);// Device 7
if(count_value >= 60)
{
outportb(IT8712_ioPort, 0x72);
registerValue = inportb(IT87121);
registerValue &= 0x7f;
registerValue |= 0x40; //enable WDT output
through KBRST
outportb(IT87121, registerValue);
// set WDT count is minute
tempCount = count_value / 60;
if((count_value%60) > 30)
te+;
if(tempCount > 255)
tempCount = 255;
printf("WDT timeout in %d minutes.\n",
tempCount);
}
else
{
outportb(IT8712_ioPort, 0x72);
registerValue = inportb(IT87121);
registerValue |= 0x80;
tempCount = count_value;
Содержание MI-960
Страница 6: ...vi Preface This page intentionally left blank This page intentionally left blank ...
Страница 9: ...Table of Contents ix MI 960 Important Safety Instructions 81 Getting Service 83 ...
Страница 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 ...
Страница 25: ...Introduction 11 MI 960 Figure 1 3 MI 960 Rear I O Layout VGA COM2 MS KB CF GbE1 GbE2 USB0 USB1 USB2 USB3 Audio ...
Страница 26: ...12 Introduction 1 9 Mechanical Drawings Figure 1 4 MI 960 Board Dimensions top view Dimensions in mm ...
Страница 27: ...Introduction 13 MI 960 Figure 1 5 MI 960 Rear I O Dimensions Dimensions in mm ...
Страница 28: ...14 Introduction This page intentionally left blank ...
Страница 40: ...26 Connectors Jumpers This page intentionally left blank ...
Страница 44: ...30 Getting Started 7 Close the load plate A then fasten the load lever on the retention tab B A B ...
Страница 48: ...34 Getting Started This page intentionally left blank ...
Страница 84: ...70 Watchdog Timer This page intentionally left blank ...