TPC-650H User Manual
30
C.2 How to Use the Control Code
There are 6 control codes for the operation codes in the WDT driver.
C.2.1 IOCTL _WDT_ENABLE:
Enables the watchdog timer of your application. By default, if the watch-
dog timer is enabled, the WDT driver will automatically trigger itself
after the specified period and your application does not need to trigger the
watchdog timer.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
C.2.2 IOCTL _WDT_DISABLE:
Disables the watchdog time of your application.
lpInBuffer : unsed.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
C.2.3 IOCTL_WDT_STROBE:
Triggers the watchdog. If your application uses IOCTL_WDT_ENABLE
to enable the watchdog first and then sends IOCTL_WDT_REBOOT to
the WDT driver, your application must trigger the watchdog once during
the watchdog timer period. If your application has not triggered at the
specified period, the device will reboot automatically.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
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...