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_init

Function Documentation

int rc_i2c_init(int bus, uint8_t devAddr)

Initializes a bus and sets it to talk to a particular device address.

Parameters
  • bus[in] The bus

  • devAddr[in] The device address

Returns

0 on success or -1 on failure