Share via


GpioChangeRecord Struct

Definition

Stores a relative timestap of a general-purpose I/O (GPIO) pin value change, and whether the pin transitioned from low to high or from high to low.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 196608)]
struct GpioChangeRecord
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 196608)]
public struct GpioChangeRecord
var gpioChangeRecord = {
relativeTime : /* Your value */,
edge : /* Your value */
}
Public Structure GpioChangeRecord
Inheritance
GpioChangeRecord
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v3.0)

Fields

Edge

A GpioPinEdge object corresponding to the transition type.

RelativeTime

A relative timestamp that can be used to determine the difference in time between two change records. This timestamp does not correspond to any absolute or system time.

Applies to