Dario Nieuwenhuis
Dario Nieuwenhuis
What would this do, then? ```rust bus.start(0x10)?; bus.write(...)?; bus.read(...)?; ``` - Option 1: it does an "implicit" repeated start. - However, "start, write, write" wouldn't do a repeated start, which...
This should be now ready to go :) ping @rust-embedded/hal The changelog checker is angry because I moved `CHANGELOG.md` to the subdir. How do we do this? Ideally the checker...
Rebased, and split off the clippy stuff to a separate PR (#406)
There's one in stm32f4xx-hal. I agree the trait is quite unwieldy, yes: https://github.com/stm32-rs/stm32f4xx-hal/blob/dc1552b2fc2e14901203a13ab42e76a5121a08eb/src/gpio.rs#L574-L683 It also feels strange to me `TInput, TOutput` are trait generic params instead of associated types. Also,...
If the iterator yields owned Operations, it can generate them on the fly and return them. If it yields references, it has to allocate all the operations upfront and keep...
there's a [blocking to "fake async" adapter](https://github.com/embassy-rs/embassy/blob/master/embassy-embedded-hal/src/adapter.rs) that you can use to get an async impl out of any HAL with only a blocking impl. It's "fake async" because it...
What's the use case for a HAL-independent watchdog trait? HAL-independent drivers for external chips have no use for the watchdog. Watchdog is something inherently MCU-wide (it forces a whole MCU...
HALs implement the traits to tick boxes. "The chip has a watchdog and EH has a watchdog trait, so I should impl it". Then users use it because many HALs...
> Would it, in the interest of keeping simple things simple, be permissible for something that knows itself to take only finite time (eg. a UART transmit, or an ADC...