Table of Contents

Method ReadMotorRaisedErrorAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotorRaisedErrorAsync(CancellationToken)

Asynchronously reads the contents of the MotorRaisedError register.

public Task<StepperMotors> ReadMotorRaisedErrorAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StepperMotors>

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