49 Chapter 3
4. IOCTL_SET_WDTPERIOD (0x1004):
lpInBuffer : the DWORD pointer to your Watchdog time setting. Its vlaue
should be greater 1000. The unit is mini-second. If your application open
the WDT driver, the default Watchdog Time is set to 5000 mini-seconds.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
5. IOCTL_ACCESS_WDT (0x1005):
Your application must trigger the Watchdog once during the your Watch-
dog timer period. If your application has not trigger at the specified
period, the device will reboot automatically.
lpInBuffer :unused.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
6. IOCTL_GET_SCREENOFFTIME (0x1006):
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: the DWORD pointer to your screen off time if user-interface
idled. The unit is mini-second. If the value is 0, screen-off function is dis-
abled.
nOutBufferSize: unused.
7. IOCTL_SET_SCREENOFFTIME (0x1007):
lpInBuffer : the DWORD pointer to your screen off time if user-interface
idled. The unit is mini-second. If the value is 0, screen-off function is dis-
abled.
nInBufferSize:unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
8. IOCTL_SET_SCREENOFF (0x1010):
Set the LCD power off immediately.
lpInBuffer : unused.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.