Skip to content
Commit bafac2c6 authored by Tom Burdick's avatar Tom Burdick Committed by Anas Nashif
Browse files

i2c: Add helpers and context for i2c rtio drivers



Implementing RTIO drivers, in theory, should be as simple as the normal
i2c drivers and generally be more consistent across implementations. To
do that some common code that calls driver specific code is needed much
like the venerable spi_context and its helpers.

This adds struct i2c_rtio as well as helpers to perform blocking i2c
transfers, i2c bus recovery, and similar such tasks.

Signed-off-by: default avatarTom Burdick <thomas.burdick@intel.com>
parent bbe8833f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment