aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/exti.rs
Commit message (Collapse)AuthorAgeFilesLines
* low-power: improve debug logicxoviat2025-12-061-1/+1
|
* Build script now injects EXTI2 => EXTI2_TSC peripheral/interrupt mapping if ↵WillaWillNot2025-11-221-14/+4
| | | | it's not present in the PAC, removed macro magic in exti that was working around this omission
* Reverted adding AnyBinding, removed AnyChannel, removed ability for ↵WillaWillNot2025-11-221-42/+27
| | | | ExtiInput to accept AnyPin and AnyChannel arguments, added ExtiPin trait for all pins which is lost on converstion to AnyPin and contains type-level ExtiChannel information
* Updated documentation, fixed EXTI definition issues with chips that have ↵WillaWillNot2025-11-211-18/+35
| | | | touch sensing, updated examples, added generation of convenience method to bind_interrupts for easier type erasure
* Added type-erased AnyBinding for interrupt-handler bindings, and changed ↵WillaWillNot2025-11-191-16/+43
| | | | Exti driver to accept custom bindings without sacrificing its ability to accept type-erased Channels
* stm32/exti: add poll_for methodsxoviat2025-11-181-10/+36
|
* rustfmteverdrone2025-11-111-3/+3
|
* Merge branch main into n6everdrone2025-11-111-1/+1
|\
| * stm32/stop: move stop_with_rtc into initxoviat2025-11-041-1/+1
| |
| * Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-3/+3
| |
* | Use `PinNumber` to accomodate chips with more than 256 pinseverdrone2025-09-211-8/+8
| |
* | Fix EXTI, DTS and FLASH for N6 familyeverdrone2025-09-211-8/+8
|/
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-22/+13
|
* Update stm32-metapac.Dario Nieuwenhuis2025-01-061-2/+7
|
* Use inline const for initializing arrays. (#3567)Dario Nieuwenhuis2024-11-241-2/+1
|
* fix: stm32l0 low-power EXTI IRQ handler wiped pending bits before they were ↵Lena Berlin2024-10-081-3/+3
| | | | checked
* Add stm32u0 support.Dario Nieuwenhuis2024-04-141-8/+8
|
* stm32: use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-6/+5
|
* stm32/gpio: remove generics.Dario Nieuwenhuis2024-01-221-17/+28
|
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-101-7/+7
| | | | | | | With the embedded-hal rc3 update I changed them to require `&mut self`, but in retrospect I think `&self` is better, for extra flexibility. This PR reverts the changes from the rc3 update to inherent methods.
* stm32: more docs.Dario Nieuwenhuis2023-12-191-0/+1
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-181-7/+43
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-7/+7
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-53/+36
|
* stm32: Don't try handle EXTI inputs above 16Adam Greig2023-11-011-0/+3
|
* stm32: avoid creating many tiny critical sections in init.Dario Nieuwenhuis2023-10-121-1/+1
| | | | Saves 292 bytes on stm32f0 bilnky with max optimizations (from 3132 to 2840).
* stm32: centralize enabling pwr, syscfg, flash.Dario Nieuwenhuis2023-09-251-5/+0
|
* Add get_level() to ExtiInputSebastian Goll2023-09-201-1/+5
|
* stm32: rtc/low-power cleanupxoviat2023-09-151-0/+3
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-191-3/+3
|
* Add `rt` feature to HALs, cfg out interrupt handling when not set.Dario Nieuwenhuis2023-06-081-0/+1
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-2/+2
| | | | | | | | | | | | - 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-2/+2
|
* stm32: add H5 support.Dario Nieuwenhuis2023-04-061-9/+9
|
* Add `#[must_use]` to all futuresGrant Miller2023-02-241-0/+1
|
* stm32: add stm32c0 support.Dario Nieuwenhuis2023-01-171-8/+8
|
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-251-21/+15
|
* Update embedded-hal versions and explicitly pinUlf Lilleengen2022-09-291-1/+1
|
* Do not use cfg_if for embedded-hal-async feature gates.Dario Nieuwenhuis2022-08-311-24/+25
| | | | Old code used `cfg_if!` because rustc still parses code inside disabled cfg's, and Rust stable at that time couldn't parse the new GAT where-clause location. This is not the case anymore.
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-1/+1
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-4/+4
|
* Rename unsafe_impl_unborrow to impl_unborrowDario Nieuwenhuis2022-07-231-2/+2
|
* have adapted access to pin() and port() methods of Sealed::Pin in exti.rs ↵[email protected]2022-07-101-5/+5
| | | | according to previous changes on Input struct
* Run rustfmt.Dario Nieuwenhuis2022-06-121-11/+8
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-3/+3
| | | | | | - 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`.
* stm32: Fix stm32f107 build.Dario Nieuwenhuis2022-05-081-1/+1
|
* Add stm32wlexx supportDario Nieuwenhuis2022-04-081-1/+1
|
* Update rust nightly, embedded-hal 1.0, embedded-hal-async.Dario Nieuwenhuis2022-03-111-39/+24
|