Enum PinMode
Pin modes supported by the GPIO controllers and drivers.
public enum PinMode
Fields
Input = 0
Configures the GPIO pin in floating mode, with high impedance.
InputPullDown = 1
Configures the GPIO pin as high impedance with a pull-down resistor to ground.
InputPullUp = 2
Configures the GPIO pin as high impedance with a pull-up resistor to the voltage charge connection (VCC).
Output = 3
Configures the GPIO pin in strong drive mode, with low impedance.
OutputOpenDrain = 4
Configures the GPIO in open drain mode.
OutputOpenDrainPullUp = 5
Configures the GPIO pin in open drain mode with resistive pull-up mode.
OutputOpenSource = 6
Configures the GPIO pin in open collector mode.
OutputOpenSourcePullDown = 7
Configures the GPIO pin in open collector mode with resistive pull-down mode.