Re: [PATCH 1/4] rust: i2c: add read and write byte data abstractions

From: Pavel Machek

Date: Sun Nov 23 2025 - 14:44:15 EST


Hi!

> In addition to the core abstractions, implement
>
> * `i2c::I2cClient::read_byte` - read a byte from the i2c client
> * `i2c::I2cClient::write_byte` - write a byte to the i2c client
>
> * `i2c::I2cClient::read_byte_data` - read byte data from the i2c client
> * `i2c::I2cClient::write_byte_data` - write byte data to the i2c client
>
> * `i2c::I2cClient::read_word_data` - read word data from the i2c client
> * `i2c::I2cClient::write_word_data` - write word data to the i2c client
>
> Signed-off-by: Markus Probst <markus.probst@xxxxxxxxx>

Acked-by: Pavel Machek <pavel@xxxxxx>

--
I don't work for Nazis and criminals, and neither should you.
Boycott Putin, Trump, Netanyahu and Musk!

Attachment: signature.asc
Description: PGP signature