- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page