aboutsummaryrefslogtreecommitdiff
path: root/embassy-cortex-m/src/interrupt.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove embassy-cortex-m crate, move stuff to embassy-hal-common.Dario Nieuwenhuis2023-06-091-846/+0
|
* Add `rt` feature to HALs, cfg out interrupt handling when not set.Dario Nieuwenhuis2023-06-081-1/+2
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-63/+150
| | | | | | | | | | | | - 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`.
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-127/+33
|
* nrf: add new interrupt binding traits and macro.Dario Nieuwenhuis2023-03-061-0/+30
|
* cortex-m: rename Handler to DynHandler.Dario Nieuwenhuis2023-03-061-3/+3
| | | | I want to use the name Handler for the new interrupt binding macro.
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-1/+2
|
* macros/interrupt_take: do not assume embassy-executor is a dependency of the ↵Dario Nieuwenhuis2022-08-171-0/+6
| | | | user crate.
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-2/+2
|
* embassy-cortex-m: docsDario Nieuwenhuis2022-07-191-0/+9
|
* cortex-m: document Interrupt changes depending on Cargo features.Dario Nieuwenhuis2022-06-261-0/+18
|
* Add more API docs for embassy-cortex-m and embassy-nrfUlf Lilleengen2022-06-231-0/+54
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-3/+2
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-0/+735
- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.