Udostępnij za pośrednictwem


GpioChangeCounter.Read Method

Definition

Reads the current count of polarity changes. Before counting has been started, this will return 0.

GpioChangeCount Read();
public GpioChangeCount Read();
function read()
Public Function Read () As GpioChangeCount

Returns

A GpioChangeCount structure containing a count and an associated timestamp.

Remarks

The following exception can be thrown by this method:

  • HRESULT_FROM_WIN32(ERROR_INVALID_HANDLE) - the change counter or the associated pin has been disposed.

Applies to