Describes the output configuration for a GPIO.
public enum OutputType
GPIO Output is configured as Push Pull. When in Push-Pull mode the
MCU can actively drive the port either
0V), by utilizing two switches internally, requiring no
PushPull = 0
GPIO Output is configured as Open Drain. When in Open-Drain mode,
the MCU port utilizes only one switch internally, and can only
actively drive the port
LOW. So an external pull-up resistor
connected to the
3V3 rail is required to be able to set a logical
OpenDrain is provided largely as a legacy feature
and is hardly used anymore.
OpenDrain = 1