I needed to use OpenDrain mode for SPI output pins, but the init for SPI were only defined for pins set to Analog (i.e. implicitly PushPull). Therefore I added Output<OpenDrain> as an alternative and also Output<PushPull> to allow for more explicit user peripheral setup code.
I needed to use
OpenDrain
mode for SPI output pins, but the init for SPI were only defined for pins set toAnalog
(i.e. implicitlyPushPull
). Therefore I addedOutput<OpenDrain>
as an alternative and alsoOutput<PushPull>
to allow for more explicit user peripheral setup code.