-
Notifications
You must be signed in to change notification settings - Fork 720
[nrf fromtree] drivers: i2c_nrfx_twim: add exlusive access API #2585
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add test/samples which showcase/prove that those uses cases works.
6f2ce2c to
6121005
Compare
|
@nordic-piks added. |
|
It is not yet clear if this [nrf fromlist] can go in or the [nrf noup] version (#2624) will be allowed to go in. |
This commit provides an extension to the i2c_nrfx_twim driver. It introduces possibility to acquire/release exclusive access to the i2c bus. While the exclusive access to the i2c bus is acquired you can access the underlying nrfx_twim driver directly. Signed-off-by: Andrzej Kuros <[email protected]> (cherry picked from commit d15c9fe)
6121005 to
3da2c59
Compare
|
The upstream PR zephyrproject-rtos/zephyr#86721 is merged, cherry-picking as [nrf fromtree] |
|
@anangl , waiting for approval. |
|



This commit provides an extension to the i2c_nrfx_twim driver. It introduces possibility to acquire/release exclusive access to the i2c bus
The provided API is necessary for use cases when, i2c transfers must be started from interrupt context, while still allowing to share the i2c bus in multi-tasking environment.