embedded-hal
embedded-hal copied to clipboard
A Hardware Abstraction Layer (HAL) for embedded systems
Hi. Recently, the API of the `SpiDevice` trait has been updated to use a list of Operation instances instead of passing a closure. https://github.com/rust-embedded/embedded-hal/blob/9ac61a73d78f071ff50198cdb8d22a992030f908/embedded-hal/src/spi.rs#L342 Before the API change, I had...
hi, are there any plans to add async traits to `embedded-can`? if I can be of any help, please let me know.
Most pin functions (`is_high()`, `set_low()`, etc.) return results, which are virtually always infallible, but we are still forced to unwrap them which is a very unfortunate and bad design smell....
Use cases where one wishes to select between a `DelayUs::delay_us` and a different `Future` are likely to be quite common. I propose that we add something like `async fn timeout_{us,...
The current async interface targets an I2C Master. Hereby I propose to also create an async interface for an I2C slave device. It would be nice that the length of...
Hey there, I've started implementing I2S on the ESP32 (well, the peripheral is called I2S but is also supporting TDM and I2S left-aligned which are not per se standard I2S),...
Hello! I'm opening this issue as a continuation of the discussion on the bxCAN driver stm32-rs/bxcan#57 surrounding the behaviour of the driver, specifically as it relates to priority inversion. As...
retry of #134
I am not sure when to start a new count down when implementing a periodic timer. The documentation currently says, "the timer will start a new count down right after...
This is mentioned in https://github.com/rust-embedded/book/issues/246: what is the recommended way to share a `Delay`? Currently all the `Delay` methods take a mutable self reference, e.g. `Delay::delay_x(&mut self, val: u32)`. This...