stm32f103xx-hal
stm32f103xx-hal copied to clipboard
Re-Introduce into_open_drain_output
trafficstars
See explanation at #51
What if into_open_drain_output would return not only an OutputPin<OpenDrain>, but also an InputPin<Floating>? This would be more clear than the specialization of the is_low() in OpenDrain mode. The only drawback I see is that both of the returned structs should be consumed by the next into_XXX call.
What about the my latest update? #51