#embedded-hal-async #embedded-hal-i2c #iterator #write #embedded-devices #byte #read-write

i2c-write-iter

Exports iterator based parallels to embedded-hal & embedded-hal-async for Write & WriteRead

3 releases (1 stable)

1.0.0 Jan 26, 2024
1.0.0-rc.1.4 Jan 8, 2024
1.0.0-rc.1.3 Nov 28, 2023

#1725 in Embedded development

Download history 742/week @ 2024-08-19 497/week @ 2024-08-26 137/week @ 2024-09-02 305/week @ 2024-09-09 58/week @ 2024-09-16 255/week @ 2024-09-23 150/week @ 2024-09-30 44/week @ 2024-10-07 428/week @ 2024-10-14 75/week @ 2024-10-21 138/week @ 2024-10-28 98/week @ 2024-11-04 282/week @ 2024-11-11 172/week @ 2024-11-18 20/week @ 2024-11-25 50/week @ 2024-12-02

528 downloads per month
Used in 2 crates

MIT/Apache

6KB
77 lines

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.

Dependencies

~61KB