This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_i2c_get_lock

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.