مشاركة عبر


GpioPinValue Enum

Definition

Describes the possible values for a general-purpose I/O (GPIO) pin.

public enum class GpioPinValue
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
enum class GpioPinValue
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
public enum GpioPinValue
var value = Windows.Devices.Gpio.GpioPinValue.low
Public Enum GpioPinValue
Inheritance
GpioPinValue
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v1.0)

Fields

Name Value Description
Low 0

The value of the GPIO pin is low.

High 1

The value of the GPIO pin is high.

Applies to

See also