Function rc_i2c_get_lock¶
Defined in File i2c.h
Function Documentation¶
-
int rc_i2c_get_lock(int bus)¶
Fetches the current lock state of the bus.
- Parameters
bus – [in] The bus ID
- Returns
Returns 0 if unlocked, 1 if locked, or -1 on error.
Defined in File i2c.h
Fetches the current lock state of the bus.
bus – [in] The bus ID
Returns 0 if unlocked, 1 if locked, or -1 on error.