Your browser does not allow scripts
Please click here to view a static table of contents without scripts
I2C_SetMode
Return to Introduction  Previous page  Next page
Sets the I2C communications mode.

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.