Function rc_i2c_get_fd#

Function Documentation#

int rc_i2c_get_fd(int bus)#

Gets file descriptor.

Parameters:

bus[in] The bus

Returns:

returns file descriptor of the specified bus or -1 on failure