Functions to control the I2C clock speed. 
Get the maximum clock speed on the I2C bus controlled by a specified I2C host. 
- Parameters
 - 
  
  
 
- Returns
 - The maximum I2C clock speed in Hz. 
 
- Status values
 - 
 
- See also
 - I2CGetSpeed 
 
- 
I2CSetSpeed 
 
- Since
 - 0.4.0 
 
 
 
Get the current clock speed on the I2C bus controlled by a specified I2C host. 
- Parameters
 - 
  
  
 
- Returns
 - The currently set I2C clock speed in Hz. 
 
- Status values
 - 
 
- See also
 - I2CGetSpeedMax 
 
- 
I2CSetSpeed 
 
- Since
 - 0.4.0 
 
 
 
Set the clock speed on the I2C bus controlled by a specified I2C host. 
- Parameters
 - 
  
    | [in] | hDevice | A device handle identifying the I2C host.  | 
    | [in] | dSpeed | The requested I2C clock speed in Hz.  | 
  
   
- Returns
 - The actually set I2C clock speed in Hz. 
 
- Status values
 
| VALUE_CLIPPED  | The requested I2C clock speed is outside the valid range and clipped to that range.  | 
| VALUE_MODIFIED  | The requested I2C clock speed is inside the valid range but not available. The closest valid value is set.  | 
| INVALID_HANDLE  | The handle is not a valid I2C host handle.  | 
| OBJECT_GONE  | The object indicated by the handle is no longer available.  | 
| LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit().  | 
| SUCCESS  | The function executed successfully.  | 
- See also
 - I2CGetSpeedMax 
 
- 
I2CGetSpeed 
 
- Since
 - 0.4.0