embedded-hal
embedded-hal copied to clipboard
A Hardware Abstraction Layer (HAL) for embedded systems
Hi, Lot of sensors can be used with both I2C and SPI, so why not defining a generic I/O trait that is bus independent like the std::io trait that is...
There is currently no support for SPI operations (in a transaction slice) to mutably share data. Use case: SPI devices often implement the following behavior (happy to provide numerous examples...
Adds the initial implementation of the `embedded-hal` SD/MMC traits. Includes types and traits useful for handling SD/MMC peripherals.
### Introduction Some GPIO controllers have the ability to invert the logic level in HW. This is useful in cases where some generic code samples the state of a pin...
It was a frustrating experience trying to figure out how to actually get an `SpiDevice`, and "This crate provides mechanisms to connect an `SpiBus` and a `SpiDevice`", with no further...
I think this standard implementation could be useful for BufRead, based on: - https://doc.rust-lang.org/src/std/io/mod.rs.html#2180 Because an EOF condition can appear here, I also think renaming `ReadExactError` -> `OperationError` to make...
Many I2C peripherals support a clock low timeout to prevent bus stalls/ hangups. I think this error variant would be useful.
# SD/MMC Trait This RFC proposal is to add a set of traits for abstracting common functionality for handling SD/MMC peripherals. ## Why Currently, drivers based on `embedded-hal` that implement...
Related issue: https://github.com/rust-embedded/embedded-hal/issues/577