GpioChangePolarity GpioChangePolarity GpioChangePolarity GpioChangePolarity GpioChangePolarity Enum

Definition

Represents the polarity of changes that are relevant to the associated action.

public : enum class GpioChangePolarity
enum class winrt::Windows::Devices::Gpio::GpioChangePolarity : int32_t
public enum GpioChangePolarity
Public Enum GpioChangePolarity
var value = Windows.Devices.Gpio.GpioChangePolarity.both;
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v3)

Fields

Both Both Both Both Both 2

Transitions from both low to high and high to low should trigger the associated action.

Falling Falling Falling Falling Falling 0

Transitions from high to low should trigger the associated action.

Rising Rising Rising Rising Rising 1

Transitions from low to high should trigger the associated action.