Table of Contents

Method ReadTimestampedMortor1AccumulatedStepsAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadTimestampedMortor1AccumulatedStepsAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Mortor1AccumulatedSteps register.

public Task<Timestamped<int>> ReadTimestampedMortor1AccumulatedStepsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<int>>

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