GpioChangeCount GpioChangeCount GpioChangeCount GpioChangeCount Struct

Definition

Represents a near-simultaneous sampling of the number of times a pin has changed value, and the time at which this count was sampled. This structure can be used to determine the number of pin value changes over a period of time.

public : struct GpioChangeCountpublic struct GpioChangeCountPublic Structure GpioChangeCount// You can use this struct in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v3)

Fields

Count Count Count Count

The number of times the transition of polarity specified by GpioChangeCounter.Polarity occured on the pin.

public : field ulong Countpublic field ulong CountPublic Field Count// You can use this field in JavaScript.

RelativeTime RelativeTime RelativeTime RelativeTime

The time at which this count was sampled. The time is sampled close to (but not simultaneously with) the count. This timestamp can be used to determine the elapsed time between two GpioChangeCount records. It does not correspond to any absolute or system time.

public : field TimeSpan RelativeTimepublic field TimeSpan RelativeTimePublic Field RelativeTime// You can use this field in JavaScript.