Advantech Intel XScale PXA Touch Panel Computer TPC-66 Series User Manual page 65

Tpc-66 series intel xscale pxa touch panel computer with 5.7" cstn/ 5.6"
Hide thumbs Also See for Intel XScale PXA Touch Panel Computer TPC-66 Series:
Table of Contents

Advertisement

DWORD dwTemp;
DWORD nIndex=2;
// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
DeviceIoControl(m_hWDT, IOCTL_WDT_SET_TIMEOUT, &nIndex,
sizeof(nIndex), NULL, 0, &dwTemp, NULL);
// Enable the Watchdog timer
DeviceIoControl(m_hWDT, IOCTL_WDT_ENABLE, NULL, 0, NULL,
0, &dwTemp, NULL);
While (1) {
// do your job here...
Sleep(8000);
DeviceIoControl(m_hWDT, IOCTL_WDT_STROBE, NULL,0,
NULL, 0, &dwTemp, NULL);
}
DeviceIoControl(m_hWDT, IOCTL_WDT_DISABLE, NULL, , NULL,
0, &dwTemp, NULL);
CloseHandle(m_hWDT);
53
Appendix A

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Intel XScale PXA Touch Panel Computer TPC-66 Series and is the answer not in the manual?

Table of Contents

Save PDF