I am sorry if this is a very basic question, I am very new to I2C.
Basically, in mraa i2c library, the description for method int mraa_i2c_read ( mraa_i2c_context dev, uint8_t * data, int length ) is Simple bulk read from an i2c context, this will always begin with the i2c offset 0x0.
So, can anyone help me clarify what does i2c offset 0x0 mean?
Thanks a lot in advance.
Link Copied
Hi,
In this context, the I2C offset 0x0 is the offset address. The offset address is the address of the register being accessed. Data is transferred in sequences of 8 bits so 0x0 means that the i2c read function, when called, will begin to read from this address.
Sergio
Hi,
In this context, the I2C offset 0x0 is the offset address. The offset address is the address of the register being accessed. Data is transferred in sequences of 8 bits so 0x0 means that the i2c read function, when called, will begin to read from this address.
Sergio
For more complete information about compiler optimizations, see our Optimization Notice.