aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src/bin/pwm.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* stm32: adapt examples to timer API changesmelvdl2025-06-271-1/+1
|
* last oops I promiseGrant Miller2024-09-061-3/+2
|
* Update examplesGrant Miller2024-09-061-9/+9
|
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-1/+0
|
* stm32/rcc: misc cleanups.Dario Nieuwenhuis2023-10-231-3/+3
|
* Merge branch 'master' into center-alignDion Dokter2023-10-201-8/+8
|\
| * time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-5/+5
| | | | | | | | convenience methods
| * stm32/rcc: use PLL enums from PAC.Dario Nieuwenhuis2023-10-091-3/+3
| |
* | Fix examplesDion Dokter2023-10-011-1/+1
|/
* stm32/rcc: unify h5 and h7.Dario Nieuwenhuis2023-09-211-8/+21
|
* stm32/pwm: add output type controlxoviat2023-07-291-1/+2
|
* stm32/timer: merge pwm module into timer. (#1703)Dario Nieuwenhuis2023-07-281-2/+2
| | | | The traits there are applicable to timer use cases other than PWM. It doesn't make sense to keep them separated.
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-2/+2
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-171-7/+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 PwmPin::new_chX, update examples.Dario Nieuwenhuis2022-07-231-2/+3
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-9/+9
| | | | | | | | | | - 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-3/+3
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-021-3/+3
|
* 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/+48