Winmate ID31 User Manual page 83

3.5” fanless sbc with intel ® atom dual core n2600 1.6ghz processor, vga, lvds, dual giga ethernet, and mini-pcie interface
Hide thumbs Also See for ID31:
Table of Contents

Advertisement

ID31 Motherboard User Manual /
Engineering Spec.
}
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;
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);
}
ID31 Motherboard User Manual
//Reset Watchdog timer
75

Advertisement

Table of Contents
loading

Table of Contents