AMD TPC-660G manual Ioctlwdtgettimeout

Models: TPC-660G

1 80
Download 80 pages 29.29 Kb
Page 61
Image 61

C.2.4 IOCTL_WDT_GETTIMEOUT:

Gets the Watchdog time setting. lpInBuffer: unused. nInBufferSize: unused.

lpOutBuffer: The DWORD points 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.

C.2.5 IOCTL_WDT_SETTIMEOUT:

Sets the watchdog time setting.

lpInBuffer : The DWORD points 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.

C.2.6 IOCTL_WDT_REBOOT:

If you want your application to trigger the watchdog by itself, please use IOCTL_WDT_REBOOT to notify the watchdog driver timer (WDT). Otherwise, the WDT will trigger itself automatically.

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

51

AppendixC

Page 61
Image 61
AMD TPC-660G manual Ioctlwdtgettimeout