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