User manual
ID70 Motherboard User Manual
77
Set_F81865_Reg(0xF6,g_iWatchdog_timeout); //Set Watch
Dog Timer Time-out value
}
}
if (g_bDisableWatchdog==1)
break;
clrscr();
if(g_iCount>0)
{
g_iCount--;
if (Watchdog_mode==0)
printf("After %2d sec reset computer!\n",g_iCount);
else
printf("After %2d min reset computer!\n",g_iCount+1);
printf("Press any key to reset watchdog timer!\n");
printf("Press [Esc] to exit!\n");
}
else
{
printf("Watchdog timer fail!");
}
if (Watchdog_mode==0)
delay1second();
else
delay1minute();
}
Set_F81865_Reg(0xF5,0x48); //Disable Watchdog timer
return 0;
}
//==========================================================
===========