embassy/examples/stm32g4/src/bin
Dario Nieuwenhuis 550da471be stm32: Remove OptionalPin
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.
2022-02-10 02:38:10 +01:00
..
blinky.rs stm32/gpio: expose all functionality as inherent methods. 2022-01-19 17:59:55 +01:00
button_exti.rs stm32/exti: expose all functionality as inherent methods. 2022-01-19 17:59:55 +01:00
button.rs stm32/gpio: expose all functionality as inherent methods. 2022-01-19 17:59:55 +01:00
pwm.rs stm32: Remove OptionalPin 2022-02-10 02:38:10 +01:00