76
This parameter can be NULL if the dwIoControlCode parameter specifies an operation that does not
produce output data.
nOutBufferSize
[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
lpBytesReturned
[out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer
pointed to by lpOutBuffer.
The lpBytesReturned parameter cannot be NULL. Even when an operation produces no output data,
and lpOutBuffer can be NULL, the Device-IoControl function makes use of the variable pointed to by
lpBytesReturned. After such an operation, the value of the variable is without meaning.
lpOverlapped
[in] Ignored; set to NULL.
- Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
WDT Control Codes
There are 8 control codes for the operation codes in the WDT1 driver:
1. IOCTL_ENABLE_WDT (0x1001):
Enables the Watchdog timer on your application. Your application must trigger to Watchdog timer by
IOCTL_ACCESS_WDT interface during specified period, otherwise the device will reboot
automatically
lpInBuffer
: unsed.
nInBufferSize
: unused.
lpOutBuffer
: unused.
nOutBufferSize
: unused.
2. IOCTL_DISABLE_WDT (0x1002):
Disable the Watchdog time on your application.
lpInBuffer
: unsed.
Summary of Contents for SPC-57
Page 6: ...disclaims all responsibility for the accuracy of any statements contained herein...
Page 15: ...1 7 Mounting...
Page 16: ......
Page 17: ...1 8 Dimension and cutout...
Page 18: ...CHAPTER 2 Getting Start This chapter provides brief instructions for operating the SPC 57...
Page 20: ...Vcc GND 4 Plug the male power connector into female power connector in SPC...
Page 21: ......
Page 28: ......
Page 29: ......
Page 30: ...Figure 3 1 The PCM 7230 for SPC 57 Block Diagram...
Page 72: ...72 Figure 4 22 Step 5 Tap Install button to install SDK Figure 4 23...
Page 73: ...73 Install SDK Figure 4 24 Step6 Finish installing...
Page 85: ...85...