Juhan Oskar Hennoste
Juhan Oskar Hennoste
I am using `embassy_stm32::timer::qei::Qei` to read a quadrature encoder. I would like to set the auto-reload value to match the number of counts per revolution for my encoder, so I...
Currently, the async mutex is non-reentrant, but the blocking mutex is reentrant. In practice, I find the reentrant mutex to be annoying and clunky to use, because you almost always...
Defmt 1.0 is now out and has been for a while. Some embedded-* crates, such as embedded-io seem to support it, but others, such as embedded-hal are stuck on defmt...
Embassy's STM32 metapac has done a great job of cleaning up the SVD files for peripherals. I wonder if it would be possible to adopt this work for use in...
Examples from docs: [`clear_bit_by_one`](https://docs.rs/stm32g0/latest/stm32g0/type.BitWriter1C.html#method.clear_bit_by_one), [`set_bit_by_zero`](https://docs.rs/stm32g0/latest/stm32g0/type.BitWriter0S.html#method.set_bit_by_zero). I find `clear_bit_by_one` and `set_bit_by_zero` to be confusing. Looking at these method names it is unclear what they do. Do they set the bit to...
The readme says: > Use `embassy_sync::blocking_mutex::CriticalSectionMutex` instead of `cortex_m::interrupt::Mutex`. Can I use `critical_section::Mutex` instead, provided that I use the `nrf-softdevice` critical section implementation?
Right now the current timing method ('Compare Against' setting in the UI) is stored per .lss file, but it is not saved in the .lss file itself. Instead it is...
### Suggestion Most functions used to free handles can return errors and these errors are usually indicative of logic errors in the code. Unfortunately when using `Owned` and/or `Free` there...
Currently every `UsbBus` implementation that I am aware of is `Sync` and it synchronizes access by wrapping most `UsbBus` methods in a critical section. This can cause latency issues, because...
Many higher-level crates using the usb_device will want to implement embedded_io interfaces (for example [usbd_serial](https://github.com/rust-embedded-community/usbd-serial). To make this simpler it would be convenient if `UsbError` implemented `embedded_io::Error`, so it can...