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

Dear embeded-hal Gurus, I'd like my function to accept a ```Vec``` (I'm building as simple key matrix). Is there any way to specify such currently?

Add a trait that extends OneShot and allows cancellation, along with an incomplete example. This is a first shot at #123; not ready for review as in "ensure we can...

S-waiting-on-author
T-hal

The OneShot trait defines returning a nb::Result, but it's not fully clear to me what a a WouldBlock means; could be either of * Can't do, there's another ADC conversion...

Currently, `hal` describes how user can interact with interfaces, but it misses generic interface creation. E.g. let's say we take **SPI**, each implementer of hal can use common traits to...

The countdown trait states: > `self.start(count); block!(self.wait());` MUST block for AT LEAST the time specified by `count`. The effect of calling start a second time is unclear. One interpretation is...

It is quite typical to have multiple I2C or SPI devices hanging on the same bus, but with the current scheme and move semantics the driver is taking possession of...

discussion

#67 adds a new timer trait that has `timer::CountDown` as a supertrait. Should the same be done for `timer::Periodic`? I think yes. cc @therealprof @jonas-schievink

discussion

I've just discovered that the nice errors we may create in HAL implementations have no standard way to get cleared which often means that the peripheral is stuck in that...

question
discussion

Setting up a watchdog timer to reset a microcontroller if it isn't serviced at regular intervals is fairly common. Also, from my experience watchdogs tend to be fairly similar and...

I came to a point where I need some `ns` delays, which can't be achieved by using the `Delay` trait. So I have done a bit of research and found...