IPC972 Series User's Manual
lpFnDll_Set_IO(0x2e, 0xF6);
lpFnDll_Set_IO(0x2f, WDTtimer);
//set watchdog time unit to min
lpFnDll_Set_IO(0x2e, 0xF5);
WDTDATA = lpFnDll_Get_IO(0x2f);
WDTDATA = setbit(WDTDATA, 3);
lpFnDll_Set_IO(0x2f, WDTDATA);
//start watchdog counting
lpFnDll_Set_IO(0x2e, 0xF5);
WDTDATA = lpFnDll_Get_IO(0x2f);
WDTDATA = setbit(WDTDATA, 5);
lpFnDll_Set_IO(0x2f, WDTDATA);
}
system("pause");
return
0;
}
86
Watchdog Timer
Need help?
Do you have a question about the IPC972 and is the answer not in the manual?
Questions and answers