embassy
embassy copied to clipboard
Type-erased AnyInterrupt type
Similar to AnyPin from the nrf and rp HALs. You'd call .degrade() on a typed interrupt and get an AnyInterrupt.
Together with AnyPin and type-erased AnyUarte/AnySpim/etc peripherals you could reduce code duplication due to generics.