i2c-write-iter

Crates.ioi2c-write-iter
lib.rsi2c-write-iter
version1.0.0
sourcesrc
created_at2023-11-28 21:37:14.507693
updated_at2024-01-26 05:35:09.305886
descriptionExports iterator based parallels to embedded-hal & embedded-hal-async for Write & WriteRead
homepage
repositoryhttps://github.com/ithinuel/i2c-write-iter
max_upload_size
id1052388
size5,788
cargo-geiger admins (github:rust-secure-code:cargo-geiger-admins)

documentation

https://docs.rs/i2c-write-iter

README

I2C Write Iter

Iterator based write operations where removed from the embedded-hal in: [https://github.com/rust-embedded/embedded-hal/pull/440]

Yet, iterator based writes come in very handy especially for devices like the sh1107 display controller where data needs to be interleaved with control bytes.

This crates allows for hal implementations to support those use cases. HAL implementations requiring DMA backed transactions can still internally use a buffer to fill from the iterator.

Commit count: 4

cargo fmt