PinMode Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pin modes supported by the GPIO controllers and drivers.
C#
public enum PinMode
type PinMode =
Public Enum PinMode
- Inheritance
-
PinMode
Name | Value | Description |
---|---|---|
Input | 0 | Input used for reading values from a pin. |
Output | 1 | Output used for writing values to a pin. |
InputPullDown | 2 | Input using a pull-down resistor. |
InputPullUp | 3 | Input using a pull-up resistor. |
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |