550da471be
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. |
||
---|---|---|
.. | ||
bit_sync.rs | ||
cad_params.rs | ||
calibrate.rs | ||
fallback_mode.rs | ||
hse_trim.rs | ||
irq.rs | ||
lora_sync_word.rs | ||
mod_params.rs | ||
mod.rs | ||
ocp.rs | ||
op_error.rs | ||
pa_config.rs | ||
packet_params.rs | ||
packet_status.rs | ||
packet_type.rs | ||
pkt_ctrl.rs | ||
pmode.rs | ||
pwr_ctrl.rs | ||
reg_mode.rs | ||
rf_frequency.rs | ||
rx_timeout_stop.rs | ||
sleep_cfg.rs | ||
smps.rs | ||
standby_clk.rs | ||
stats.rs | ||
status.rs | ||
tcxo_mode.rs | ||
timeout.rs | ||
tx_params.rs | ||
value_error.rs |