Table of Contents

Method ReadPulseDO2Async

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadPulseDO2Async(CancellationToken)

Asynchronously reads the contents of the PulseDO2 register.

public Task<ushort> ReadPulseDO2Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.