FTC_STATUS
|
I2C_SetMode
|
(FTC_HANDLE ftHandle, DWORD dwCommsMode)
|
Parameters
ftHandle
|
Handle of the device.
|
dwCommsMode
|
Specifies the communications mode of an external device. Valid values are STANDARD_MODE, FAST_MODE and STRETCH_DATA_MODE.
|
Return Value
FTC_SUCCESS if successful, otherwise the return value is one of the following FTC error codes:
FTC_INVALID_HANDLE
FTC_COMMS_MODE
Remarks
The default value for dwCommsMode is FAST_MODE.