Closed ryan-summers closed 5 months ago
you didn't check "allow maintainers to push", i've pushed some fixes to https://github.com/rust-embedded/embedded-hal/pull/593
Thanks for taking this over and pushing it through! :)
I didn't see the maintainer allow button, my bad.
This PR adds a primitive for sharing an I2C or SPI bus across multiple threads where the synchronization scheme is managed externally (i.e. RTIC sync resources).
The user is returned an
Error::Busy
if they ever attempt to pre-empt usage of the bus.CC @Dirbaio as we were talking about this in the Matrix channel yesterday.