Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection of various issues related to I2C API #4040

Closed
9 of 12 tasks
zephyrbot opened this issue Sep 12, 2017 · 6 comments
Closed
9 of 12 tasks

Collection of various issues related to I2C API #4040

zephyrbot opened this issue Sep 12, 2017 · 6 comments
Assignees
Labels
area: API Changes to public APIs area: I2C Meta A collection of features, enhancements or bugs

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Sep 12, 2017

Reported by Piotr Mienkowski:

I2C API should be updated to fix all linked issues.

(Imported from Jira ZEP-2612)

@zephyrbot zephyrbot added area: I2C Feature A planned feature with a milestone labels Sep 23, 2017
@nashif nashif added Enhancement Changes/Updates/Additions to existing features and removed Feature A planned feature with a milestone labels Oct 16, 2017
@nashif nashif added the area: API Changes to public APIs label Jan 16, 2018
@nashif
Copy link
Member

nashif commented Oct 16, 2018

@MaureenHelm to submit a proposal for #4039 and get comments in a PR

@endian-benjamin
Copy link
Contributor

What's the status on async I2C? Asking because of #1387 mainly

@mnkp
Copy link
Member

mnkp commented Jun 14, 2020

There are a few more changes to the I2C API which might be considered

  • Despite the fact that PR drivers: i2c: Move "Use 10-bit addressing" option to i2c_msg #9334 moved 10-bit addressing flag to struct i2c_msg - this allows to use 10-bit addressing on a per message basis - the only function that takes struct i2c_msg as a parameter is i2c_transfer. No other function e.g. i2c_write, i2c_reg_read_byte allows to use 10-bit addressing. As such 10-bit addressing is not really supported by the API. added as i2c: complete support for 10-bit addressing #27670
  • while most of the functions follow the pattern int i2c_write_read(struct device *dev, uint16_t addr, where the second parameter is the device address on the i2c bus the i2c_write, i2c_read functions take it as the last parameter. This is quite confusing when reading the application code.

@pabigot
Copy link
Collaborator

pabigot commented Jul 7, 2020

API 2020-07-07: Moved from triage to in-progress, as there has been recent activity.

@nashif nashif added Meta A collection of features, enhancements or bugs and removed Enhancement Changes/Updates/Additions to existing features labels Aug 14, 2020
@carlescufi
Copy link
Member

@teburd assigned to you as per @nashif

@nashif
Copy link
Member

nashif commented Sep 29, 2023

closing, the remaining issues have their own entries, so no need to keep this open

@nashif nashif closed this as completed Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs area: I2C Meta A collection of features, enhancements or bugs
Projects
None yet
Development

No branches or pull requests

7 participants