IA32 Motherboard User Manual
90
}
Set_W83627_Reg(0x07,0x08);//switch to logic device 8
Set_W83627_Reg(0x30,0x01);//Activate watchdog
Set_W83627_Reg(0xF5,0x06);//Select WDTO# count mode.Second Mode.
Set_W83627_Reg(0xF6,Watchdog_timeout); //Set Watch Dog Timer Time-out
value
//Set_W83627_Reg(0xF7,0xC0); //Clear Watchdog timer event
int i = Watchdog_timeout;
while(1)
{
if (kbhit())
{
if(getch()==0x1B) //Esc
break;
else{
i=Watchdog_timeout;
//Reset Watchdog timer
Set_W83627_Reg(0xF6,Watchdog_timeout); //Set Watch Dog
Timer Time-out value
}
}
clrscr();
if(i>0){
i--;
printf("After %2d sec reset computer!\n",i);
printf("Press any key to reset watchdog timer!\n");
printf("Press [Esc] to exit!\n");
}
else
printf("Watchdog timer fail!");
delay(1000);
}
Summary of Contents for IA32
Page 13: ...IA32 Motherboard User Manual 5 1 5 Board dimensions...
Page 18: ...IA32 Motherboard User Manual 10 BOTTOM CF Card Slot SO DIMM...
Page 42: ...IA32 Motherboard User Manual 34 Setp 6 Click on Finish and go on...
Page 61: ...IA32 Motherboard User Manual 53 ACPI Configuration General ACPI Configuration...
Page 71: ...IA32 Motherboard User Manual 63 Resume On RTC Alarm Disable Enable RTC wake event...
Page 86: ...IA32 Motherboard User Manual 78 Boot Device Priority Select the priority of Boot devices...