TPC-650H User Manual
28
Appendix C Watchdog Timer
Programming on WinCE
There is a built-in watchdog timer in Windows CE 6.0 for TPC-650H.
You can access it through the WIN32 API. TPC-650H 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 Device I/O Control
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-650H
Page 1: ...TPC 650H 5 7 VGA TFT LCD Intel Atom Touch Panel Computer User Manual...
Page 8: ...TPC 650H User Manual viii C 2 6 IOCTL_WDT_REBOOT 31 C 3 Examples 32...
Page 15: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 650H...
Page 19: ...2 CHAPTER 3 Features in Windows XP Embedded Sections include EWF HORM Advantech Utilities...
Page 22: ...TPC 650H User Manual 14...
Page 23: ...2 APPENDIX A Serial Port Settings...
Page 25: ...2 APPENDIX B Watchdog Timer Programming...
Page 35: ...2 APPENDIX C Watchdog Timer Programming on WinCE...
Page 42: ...TPC 650H User Manual 34...