esp-rs / esp-hal

no_std Hardware Abstraction Layers for ESP32 microcontrollers
https://docs.esp-rs.org/esp-hal/
Apache License 2.0
769 stars 214 forks source link

Add `+ Into<AnyTimer> + 'static` to `timer::Timer` trait #2549

Open MabezDev opened 1 week ago

MabezDev commented 1 week ago

See the discussion here: https://github.com/esp-rs/esp-hal/pull/2542#discussion_r1844118688

Unfortunately to implement this, we still need to make the low level timers even dumber (remove peripheral ref from them).