Table of Contents

Method ReadTimestampedAccumulatedStepsAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadTimestampedAccumulatedStepsAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AccumulatedSteps register.

public Task<Timestamped<AccumulatedStepsPayload>> ReadTimestampedAccumulatedStepsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AccumulatedStepsPayload>>

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