GpioPinEdge 列舉

定義

描述 GpioPin.ValueChanged 事件之一般用途 I/O (GPIO) 針腳值的可能變更類型。

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
繼承
GpioPinEdge
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Devices.DevicesLowLevelContract (已於 v1.0 引進)

欄位

FallingEdge 0

GPIO 針腳的值從高變更為低。

RisingEdge 1

GPIO 針腳的值從低變更為高。

適用於

另請參閱