U2C_Stop()

U2C_RESULT U2C_Stop(
      HANDLE hDevice
);

The U2C_Stop() function generates stop condition on I2C bus. You can also use this function to generate repeated stop condition.

Parameters:

hDevice

Handle to the U2C-12 device.

Return values:

U2C_SUCCESS

Stop condition was successfully generated.

U2C_HARDWARE_NOT_FOUND

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

Rating: 
Голосов пока нет