aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src/bin/dac.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* stm32/dac: remove DMA generic params.Dario Nieuwenhuis2025-03-251-2/+1
|
* stm32: autogenerate mux config for all chips.Dario Nieuwenhuis2024-03-011-1/+1
|
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-1/+0
|
* STM32 DAC: Rework DAC driver, support all families.Adam Greig2023-11-251-3/+2
|
* stm32/rcc: misc cleanups.Dario Nieuwenhuis2023-10-231-3/+4
|
* stm32/rcc: use PLL enums from PAC.Dario Nieuwenhuis2023-10-091-7/+7
|
* stm32/rcc: unify h5 and h7.Dario Nieuwenhuis2023-09-211-4/+28
|
* stm32: fix DAC examplesAdam Greig2023-07-221-1/+1
| | | | | | | | The DAC driver defaults to enabling the channel trigger, but leaves it at the default value of TIM6 TRGO, then performs a software trigger after writing the new output value. We could change the trigger selection to software trigger, but for this example it's simpler to just disable the trigger.
* Update DAC examples, add DAC + DMA exampleJuliDi2023-06-281-4/+5
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-171-9/+5
| | | | | 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.
* embassy-stm32: Simplify timeGrant Miller2022-07-101-4/+4
| | | | | | | | | | - 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/+1
|
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-021-4/+13
|
* 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.
* Remove trait_alias, allow(incomplete_features).Dario Nieuwenhuis2021-09-031-2/+0
| | | | trait_alias seems unused. no idea why it's there.
* stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.Dario Nieuwenhuis2021-08-191-5/+0
|
* Merge pull request #344 from bobmcwhirter/remove_buildersDario Nieuwenhuis2021-08-041-6/+1
|\ | | | | Remove builders from Config(s) and examples.
| * Further work sharing config for example and removing duplicated code.Bob McWhirter2021-08-041-16/+0
| |
| * Formatting.Bob McWhirter2021-08-041-3/+3
| |
| * Remove builders from Config(s) and examples.Bob McWhirter2021-08-041-3/+14
| |
* | Update nightly, remove removed features.Dario Nieuwenhuis2021-08-041-2/+0
|/
* Run cargo-fmt on the h7 examples.Bob McWhirter2021-08-031-8/+6
|
* Enhance Rcc configuration to be more fluentish.Bob McWhirter2021-08-031-31/+12
| | | | Clean up H7 examples to remove all vegan HALs and PACs.
* stm32: No need to enable GPIO clocks manuallyTimo Kröger2021-07-231-18/+6
|
* fix stm32 warningsRukai2021-07-051-9/+6
|
* Bring over DAC example (relies upon stm32-data update)Bob McWhirter2021-06-081-0/+92