embedded-hal icon indicating copy to clipboard operation
embedded-hal copied to clipboard

A Hardware Abstraction Layer (HAL) for embedded systems

Results 180 embedded-hal issues
Sort by recently updated
recently updated
newest added
trafficstars

# Summary This proposal proposes to change the way how `async api` does implemented. It makes `async api` more clearly for use and extend. # Motivation Our current approach to...

RFC
discussion

As we have a lot of changes (especially renames) in coming 1.0, it is good to have migration manual, how to port hal and driver crates on it.

Concrete suggestion to resolve https://github.com/rust-embedded/embedded-hal/issues/186. I'd prefer `Elapsed::elapsed` to be infallible, but that is probably against the tide of the times :) We use pretty much this implementation in https://github.com/lpc55/lpc55-hal/blob/5c70be5f73da2a6e1330aefc82a53f6cd3ddc7d6/src/drivers/timer.rs#L43-L48;...

S-waiting-on-review
T-hal

Although there is an interface for an i2c blocking master, a corresponding slave interface is missing. Are there any ideas or work already done on this?

discussion

Can this be used for Arduino as a high level crate?

I want to create this issue to discuss a shared place to store necessary hardware type definitions. These could be stored in the `embedded-hal` crate, but could also easily be...

discussion

It's unfortunate that there's no nonblocking variant of the `i2c` HAL traits -- but that could easily change. My first impression is that it should look something like: ```Rust //!...

proposal

Micros such as SAMD51 supports configuring SPI bit order. There should be something exposed to make this configurable. I think a good place for it could be here: https://github.com/rust-embedded/embedded-hal/blob/d45af5f9bf25e7e29029db578aaa3c10c35da424/src/spi.rs#L55 Adding...

In the v0.1.0 release of this crate we have a `digital::OutputPin` that represents a single digital output pin. That trait is useful for, e.g., implementing the NSS pin of a...

proposal

Interrupts are an important topic in microcontroller programming, but so far there's no support for them in embedded-hal. I'd like to start a discussion about whether such support should be...

discussion