Udostępnij za pośrednictwem


ProviderGpioPinValue Enum

Definition

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

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

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v2.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