Function rc_i2c_unlock_bus#
Defined in File i2c.h
Function Documentation#
-
int rc_i2c_unlock_bus(int bus)#
Unlocks a bus to indicate to other threads in the process that the bus is now free.
see rc_i2c_lock_bus for further description.
- Parameters:
bus – [in] The bus ID
- Returns:
Returns the lock state (0 or 1) when this function is called, or -1 on error.