esp-hal
esp-hal copied to clipboard
Implement the `embedded_hal_async::delay::DelayUs` trait
trafficstars
This trait as added in one of the alpha releases, and we never implemented it. This trait will need to be implemented in order to use future versions of embassy.
- [x]
SYSTIMER(#812) - [ ]
TIMG - [ ] Xtensa CPU Timers (?)
This trait has been around since the 0.1 release of the eha, but didn't really need to implement it as embassy-time offers an impl based on the time driver impls. If we were to implement this we should impl on the following
- Systimer (alarms only)
- TIMG timers
- Xtensa internal CPU timers (maybe)
- Anything else that has a configurable time period + interrupt? Maybe something in the RTC domain
Once https://github.com/esp-rs/esp-hal/issues/1063 is resolved we can revisit this issue.