aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/timer/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Implemented Pwm trait from embedded_halrandi2023-10-071-0/+28
| |
* | Invert assertDion Dokter2023-10-201-1/+1
| |
* | Added clarifying commentDion Dokter2023-10-021-4/+7
| |
* | Do affect the frequencyDion Dokter2023-10-021-3/+38
| |
* | stm32: Add the ability to center-align timersDion Dokter2023-10-011-2/+47
|/
* rustfmtxoviat2023-09-301-1/+1
|
* Fix clippy error exposed by moving out of macrosDaniel Berlin2023-09-301-1/+1
|
* Remove unused importsDaniel Berlin2023-09-301-2/+0
|
* Move one more method out of macrosDaniel Berlin2023-09-301-19/+17
|
* Move trait impls out of macrosDaniel Berlin2023-09-301-346/+143
|
* Fix small formatting issueDaniel Berlin2023-09-301-0/+1
|
* Fix trait inconsistency between sealed traits and implementationsDaniel Berlin2023-09-301-95/+1
|
* Revert "Forgot set_count_direction and set_clock_division in 32 bit instance"Daniel Berlin2023-09-281-12/+0
|
* Forgot set_count_direction and set_clock_division in 32 bit instanceDaniel Berlin2023-09-281-0/+12
|
* Add support for STM32 input capture filterDaniel Berlin2023-09-281-0/+28
|
* Add support for input capture functionDaniel Berlin2023-09-271-0/+231
|
* Merge pull request #1845 from xoviat/qeixoviat2023-08-301-0/+1
|\ | | | | | | stm32: add qei
| * stm32: implement qeixoviat2023-08-301-0/+1
| |
* | Stm32 timer prevent hardfaultDion Dokter2023-08-301-0/+2
|/
* stm32: allow setting the PWM output polarityAurelien Jacobs2023-08-181-0/+49
|
* stm32/timer: merge pwm module into timer. (#1703)Dario Nieuwenhuis2023-07-281-25/+246
| | | | The traits there are applicable to timer use cases other than PWM. It doesn't make sense to keep them separated.
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-191-39/+25
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-3/+3
| | | | | | | | | | | | - 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`.
* Revert "Make advanced timer trait not require general purpose timer trait as ↵chemicstry2022-07-121-1/+11
| | | | | | the timers are too different." This reverts commit 4988dfe98175f5d92d896edd2b9ee774a91b28d5.
* embassy-stm32: Simplify timeGrant Miller2022-07-101-6/+6
| | | | | | | | | | - Remove unused `MilliSeconds`, `MicroSeconds`, and `NanoSeconds` types - Remove `Bps`, `KiloHertz`, and `MegaHertz` types that were only used for converting to `Hertz` - Replace all instances of `impl Into<Hertz>` with `Hertz` - Add `hz`, `khz`, and `mhz` methods to `Hertz`, as well as free function shortcuts - Remove `U32Ext` extension trait
* Run rustfmt.Dario Nieuwenhuis2022-06-121-7/+6
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-1/+1
| | | | | | - 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: Register access for timers now doesn't require selfMatous Hybl2022-02-281-18/+18
|
* stm32: move macrotables to embassy-stm32 build.rsDario Nieuwenhuis2022-02-261-1/+1
|
* Make advanced timer trait not require general purpose timer trait as the ↵Matous Hybl2022-01-181-9/+1
| | | | timers are too different.
* Add low level timer API.Matous Hybl2022-01-131-0/+224