A.2.4 ioctl_wdt_gettimeout, A.2.5 ioctl_wdt_settimeout, A.2.6 ioctl_wdt_reboot – Advantech Intel XScale PXA Touch Panel Computer TPC-66 Series User Manual
Page 63
51
Appendix A
A.2.4 IOCTL_WDT_GETTIMEOUT:
Gets the Watchdog time setting.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: The DWORD pointer to your Watchdog time setting. The
Watchdog time setting is just a number. 0 means 2 seconds, 1 means 5
seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds,
others means 40 seconds. The default setting is 5 seconds.
nOutBufferSize: unused.
A.2.5 IOCTL_WDT_SETTIMEOUT:
Sets the Watchdog time setting.
lpInBuffer : The DWORD pointer to your Watchdog time setting. The
Watchdog time setting is just a number. 0 means 2 seconds, 1 means 5
seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds,
others means 40 seconds. The default setting is 5 seconds.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
A.2.6 IOCTL_WDT_REBOOT:
If you want your application to trigger the Watchdog by itself, please use
IOCTL_WDT_REBOOT to notify the WDT driver. Otherwise, the WDT
will trigger itself automatically.
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.