Table of Contents

Method ReadPulseSupplyPort1Async

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadPulseSupplyPort1Async(CancellationToken)

Asynchronously reads the contents of the PulseSupplyPort1 register.

public Task<ushort> ReadPulseSupplyPort1Async(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.