Share via


GpioPinEdge Enum

Definition

Describes the possible types of change that can occur to the value of the general-purpose I/O (GPIO) pin for the GpioPin.ValueChanged event.

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

Windows requirements

Requirements Description
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
FallingEdge 0

The value of the GPIO pin changed from high to low.

RisingEdge 1

The value of the GPIO pin changed from low to high.

Applies to

See also