Edit

Share via


PinMode Enum

Definition

Pin modes supported by the GPIO controllers and drivers.

C#
public enum PinMode
Inheritance
PinMode

Fields

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.

Applies to

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