Table of Contents

Method ReadMotorStoppedAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotorStoppedAsync(CancellationToken)

Asynchronously reads the contents of the MotorStopped register.

public Task<MotorStoppedPayload> ReadMotorStoppedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<MotorStoppedPayload>

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