Table of Contents

Method ReadAccumulatedStepsSamplingRateAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadAccumulatedStepsSamplingRateAsync(CancellationToken)

Asynchronously reads the contents of the AccumulatedStepsSamplingRate register.

public Task<AccumulatedStepsSamplingRateConfig> ReadAccumulatedStepsSamplingRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AccumulatedStepsSamplingRateConfig>

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