Intel TPC-1070 user manual Ioctlwdtgettimeout, Ioctlwdtsettimeout, Ioctlwdtreboot

Models: TPC-1070

1 92
Download 92 pages 45.44 Kb
Page 59
Image 59

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, 5 means 45 seconds and 6 means 60 seconds. The default setting is 5 sec- onds.

nOutBufferSize: unused.

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, 5 means 45 seconds and 6 means 60 seconds. The default setting is 5 sec- onds.

nInBufferSize:.unused. lpOutBuffer: unused. nOutBufferSize: unused.

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.

47

AppendixB

Page 59
Image 59
Intel TPC-1070 user manual Ioctlwdtgettimeout, Ioctlwdtsettimeout, Ioctlwdtreboot