IPC972 Series U
ser’s Manual
Watchdog Timer
85
if
(hinstLibDLL)
{
lpFnDll_Get_IO
=
(
LPFNDLLGETIOSPACE
)GetProcAddress(
GetModuleHandle
(
"diodll.dll"
),
"GetIoSpaceByte"
);
lpFnDll_Set_IO
=
(
LPFNDLLSETIOSPACE
)GetProcAddress(
GetModuleHandle
(
"diodll.dll"
),
"SetIoSpaceByte"
);
}
printf(
"Input Watch Dog Timer type, 1:Second ; 2:Minute :"
);
scanf(
"%d"
,&unit);
printf(
"\nInput Timer to countdown:"
);
scanf(
"%d"
, &WDTtimer);
printf(
"Start to countdown..."
);
//==Enter MB Pnp Mode==
lpFnDll_Set_IO(0x2e, 0x87);
lpFnDll_Set_IO(0x2e, 0x87);
lpFnDll_Set_IO(0x2e, 0x07);
lpFnDll_Set_IO(0x2f, 0x07);
//SET LDN 07
//set LDN07 FA 10 to 11
lpFnDll_Set_IO(0x2e, 0xFA);
WDTDATA = lpFnDll_Get_IO(0x2f);
WDTDATA =
setbit
(WDTDATA, 0);
lpFnDll_Set_IO(0x2f, WDTDATA);
if
(unit == 1)
{
lpFnDll_Set_IO(0x2e, 0xF6);
lpFnDll_Set_IO(0x2f, WDTtimer);
//start watchdog counting
lpFnDll_Set_IO(0x2e, 0xF5);
WDTDATA = lpFnDll_Get_IO(0x2f);
WDTDATA =
setbit
(WDTDATA, 5);
lpFnDll_Set_IO(0x2f, WDTDATA);
}
else
if
(unit == 2)
{
//set WDT Timer
Summary of Contents for IPC972
Page 1: ...IPC972 Industrial Computer User s Manual...
Page 16: ...IPC972 Series User s Manual 8 Introduction IPC972 system w optional 5G antenna bracket...
Page 66: ...IPC972 Series User s Manual 58 AMI BIOS UTILITY...
Page 68: ...IPC972 Series User s Manual 60 AMI BIOS UTILITY CSM Configuration...
Page 78: ...IPC972 Series User s Manual 70 AMI BIOS UTILITY...
Page 83: ...IPC972 Series User s Manual AMI BIOS UTILITY 75 HD Audio Configuration...
Page 84: ...IPC972 Series User s Manual 76 AMI BIOS UTILITY PCI Express Configuration...
Page 85: ...IPC972 Series User s Manual AMI BIOS UTILITY 77 USB Configuration...
Page 90: ...IPC972 Series User s Manual 82 AMI BIOS UTILITY This page is intentionally left blank...