TPC-1260G User Manual
52
Appendix C Watchdog Timer Program-
ming
There is a built-in watchdog timer in Windows CE 4.2 for TPC-1260G.
You can access it through the WIN32 API. TPC-1260G provides a WDT
driver to allow users to enable/disable the watchdog timer. The driver
name is “WDT1:”. Programmers must open this driver before using the
resources. Then programmers can use DeviceIOControl functions to
enable/disable the watchdog timer. The introduction below includes
DeviceIOControl, the definition of the parameter and an example.
C.1 DeviceIOControl
This function sends a control code directly to a specified device driver,
causing the corresponding device to perform the specified operation.
BOOL DeviceIoControl(
HANDLE hDevice,
DWORD dwIoControlCode,
LPVOID lpInBuffer,
DWORD nInBufferSize,
LPVOID lpOutBuffer,
DWORD nOutBufferSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped );
Summary of Contents for TPC-1260G
Page 12: ...TPC 1260G User Manual xii...
Page 19: ...7 Chapter1 1 8 Exploded Diagrams Figure 1 3 Exploded LCD Diagram...
Page 22: ...TPC 1260G User Manual 10...
Page 23: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 1260G...
Page 27: ...15 Chapter2 Figure 2 5 Touch Screen Calibration 1 Figure 2 6 Touch Screen Calibration 2...
Page 28: ...TPC 1260G User Manual 16...
Page 29: ...2 CHAPTER 3 System Engine...
Page 57: ...2 APPENDIX A Serial Port Settings...
Page 59: ...47 AppendixA Figure A 1 Device Manager Figure A 2 COM5 Properties...
Page 60: ...TPC 1260G User Manual 48...
Page 61: ...2 APPENDIX B Fuse Specifications...
Page 63: ...2 APPENDIX C Watchdog Timer Programming...
Page 70: ...TPC 1260G User Manual 58...