59
Appendix A
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);
Summary of Contents for TPC-60S
Page 1: ...TPC 61S Series ARM9 Touch Panel Computers with 5 7 QVGA STN LCD Dis play User Manual...
Page 8: ...TPC 60S Series User Manual viii...
Page 12: ...TPC 60S Series User Manual xii...
Page 19: ...7 Chapter1 1 8 Exploded Diagram Figure 1 3 Assembly Exploded...
Page 21: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating the TPC 60S...
Page 53: ...41 Chapter4 Configure the connection setting Figure 4 31 Configure Connection Setting...
Page 65: ...2 APPENDIX A Watchdog Timer Programming...
Page 72: ...TPC 60S Series User Manual 60...
Page 73: ...2 APPENDIX B Fuse Specifications...
Page 75: ...2 APPENDIX C Pin Assignments...