Enum OutputType
Describes the output configuration for a GPIO.
Assembly: Meadow.Contracts.dll
View Source
Declaration
public enum OutputType
Fields
PushPull
GPIO Output is configured as Push Pull. When in Push-Pull mode the
MCU can actively drive the port either HIGH (3.3V) or LOW
(0V), by utilizing two switches internally, requiring no
external components.
View Source
Declaration
PushPull = 0
OpenDrain
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
HIGH level. OpenDrain is provided largely as a legacy feature
and is hardly used anymore.
View Source
Declaration
OpenDrain = 1