Enum PinMode
Pin modes supported by the GPIO controllers and drivers.
Namespace: System.Device.Gpio
Assembly: System.Device.Gpio.dll
Syntax
public enum PinMode
Fields
Name | Description |
---|---|
Input | Configures the GPIO pin in floating mode, with high impedance. |
InputPullDown | Configures the GPIO pin as high impedance with a pull-down resistor to ground. |
InputPullUp | Configures the GPIO pin as high impedance with a pull-up resistor to the voltage charge connection (VCC). |
Output | Configures the GPIO pin in strong drive mode, with low impedance. |
OutputOpenDrain | Configures the GPIO in open drain mode. |
OutputOpenDrainPullUp | Configures the GPIO pin in open drain mode with resistive pull-up mode. |
OutputOpenSource | Configures the GPIO pin in open collector mode. |
OutputOpenSourcePullDown | Configures the GPIO pin in open collector mode with resistive pull-down mode. |