aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src/bin/low_level_timer_api.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* stm32: adapt examples to timer API changesmelvdl2025-06-271-5/+5
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-8/+6
|
* stm32/gpio: refactor AfTypeJan Špaček2024-06-161-5/+5
|
* stm32: use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-12/+25
|
* stm32/timer: simplify traits, convert from trait methods to struct.Dario Nieuwenhuis2024-03-231-16/+18
|
* update metapaceZio Pan2024-02-291-2/+2
|
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-1/+0
|
* stm32/timer: docs.Dario Nieuwenhuis2023-12-191-5/+5
|
* stm32/rcc: add shared code for hsi48 with crs support.Dario Nieuwenhuis2023-11-051-1/+0
|
* stm32/rcc: misc cleanups.Dario Nieuwenhuis2023-10-231-3/+3
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-5/+5
| | | | convenience methods
* enable clock firstpbert2023-10-121-1/+1
|
* STM32: combine RccPeripherals reset() and enable() to reset_and_enable()pbert2023-10-121-2/+1
|
* stm32/rcc: use PLL enums from PAC.Dario Nieuwenhuis2023-10-091-4/+4
|
* stm32/rcc: unify h5 and h7.Dario Nieuwenhuis2023-09-211-8/+22
|
* stm32/timer: merge pwm module into timer. (#1703)Dario Nieuwenhuis2023-07-281-1/+1
| | | | 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-32/+22
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-2/+2
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-171-6/+3
| | | | | It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that it's gone, it makes more sense to build the config in main directly.
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-3/+4
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-3/+3
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-8/+8
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-231-9/+3
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-12/+12
| | | | | | | | | | - 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-20/+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`.
* Reexport unborrow macro in HALsMatous Hybl2022-04-071-1/+1
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-021-3/+3
|
* stm32: Register access for timers now doesn't require selfMatous Hybl2022-02-281-15/+8
|
* stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers ↵Dario Nieuwenhuis2022-02-101-8/+13
| | | | to use them.
* stm32: Remove OptionalPinDario Nieuwenhuis2022-02-101-2/+1
| | | | | | | | | The idea behind OptionalPin has a few problems: - you need to impl the signal traits for NoPin which is a bit weird https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L413-L416 - you can pass any combination of set/unset pins, which needs checking at runtime https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L130 The replacement is to do multiple `new` constructors for each combination of pins you want to take.
* Port the PWM example to H7, add low-level API example implementing 32-bit PWM.Matous Hybl2022-01-131-0/+147