You are here

U2C_ReleaseScl()

U2C_RESULT U2C_ReleaseScl(
      HANDLE hDevice
);

The U2C_ReleaseScl() function releases the SCL line of the I2C bus. If the SCL line is not pulled down by I2C slave device, it will get high.

Parameters:

hDevice

Handle to the U2C-12 device.

Return values:

U2C_SUCCESS

The SCL line was successfully released.

U2C_HARDWARE_NOT_FOUND

U2C-12 device referenced by hDevice handle was not found.

Rating: 
No votes yet

Languages

User login