GpioChangeCount Struct
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.
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.
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 196608)]
struct GpioChangeCount
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 196608)]
public struct GpioChangeCount
var gpioChangeCount = {
count : /* Your value */,
relativeTime : /* Your value */
}
Public Structure GpioChangeCount
- Inheritance
-
GpioChangeCount
- 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
Count |
The number of times the transition of polarity specified by GpioChangeCounter.Polarity occurred on the pin. |
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. |