GpioPinEdge Enum
Definition
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.
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
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. |