esp-hal
esp-hal copied to clipboard
no_std Hardware Abstraction Layers for ESP32 microcontrollers
Currently, we are using only `apb_clock` in General-purpose timers implementation. The https://github.com/esp-rs/esp-hal/pull/77 added other options for the clock source.
I wrote this with inspiration from both [gpio_interrupt.rs](https://github.com/esp-rs/esp-hal/blob/36e13b0d7cc0548d4e4d2b3d29a6010dc7bc5e98/esp32c3-hal/examples/gpio_interrupt.rs) and the [rotary-encoder-embedded readme example](https://github.com/ostenning/rotary-encoder-embedded/blob/39eb551b91373000b36b6d435d8fa89b2d2877fc/README.md#interrupt-driven-example). I figured it could be nice with a publicly available example. Maybe there is a better way...
## Thank you for your contribution! We appreciate the time and effort you've put into this pull request. To help us review it efficiently, please ensure you've gone through the...
Subsequent calls to `SpiBus::write` seem to corrupt previous (unfinished) writes without calling `SpiBus::flash()` inbetween. While this is [somewhat documented](https://github.com/esp-rs/esp-hal/blob/b8b041b51a0d9ad31c45a508337a4bd1f4158d48/esp-hal/src/spi/master.rs#L2609-L2619), [it does not follow the requirements by `embedded-hal`:](https://docs.rs/embedded-hal/latest/embedded_hal/spi/index.html#flushing) > When calling...
Howdy! I would like to use the DAC of the ESP32 in DMA mode. The dac.rs itself only supports direct writing to it but I guess that is fine for...
See https://github.com/esp-rs/esp-hal/pull/1273#issuecomment-1995219928
## Thank you for your contribution! We appreciate the time and effort you've put into this pull request. To help us review it efficiently, please ensure you've gone through the...
Currently when using the `async` (and some other) features, a number of interrupts are automatically bound to handlers. This can be problematic for various reasons. One such example is implementing...
We already were aware of twai, see #1123, but upon switching to eh1 by default, I had to hack in this commit: https://github.com/esp-rs/esp-hal/pull/1313/commits/121dca7e2201ef59657a5f3bd476612aaecc80a1. All of these fixme's and now public...