embassy/embassy-cortex-m
Dario Nieuwenhuis 921780e6bf Make interrupt module more standard.
- Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`.
- Reexport the PAC interrupt enum in `embassy_xx::interrupt`.

This has a few advantages:
- The `embassy_xx::interrupt` module is now more "standard".
  - It works with `cortex-m` functions for manipulating interrupts, for example.
  - It works with RTIC.
- the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs.
- When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
2023-06-08 18:00:48 +02:00
..
src Make interrupt module more standard. 2023-06-08 18:00:48 +02:00
build.rs Add embassy-cortex-m crate. 2022-06-12 21:45:38 +02:00
Cargo.toml Move doc building to new CI. 2023-05-31 14:29:40 +02:00