stm32f103xx-hal icon indicating copy to clipboard operation
stm32f103xx-hal copied to clipboard

Re-Introduce into_open_drain_output

Open kellerkindt opened this issue 7 years ago • 2 comments
trafficstars

See explanation at #51

kellerkindt avatar Mar 18 '18 18:03 kellerkindt

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.

tib888 avatar Mar 26 '18 10:03 tib888

What about the my latest update? #51

kellerkindt avatar Jun 23 '18 12:06 kellerkindt