Table of Contents

Method ReadMotor3OperationModeAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotor3OperationModeAsync(CancellationToken)

Asynchronously reads the contents of the Motor3OperationMode register.

public Task<MotorOperationMode> ReadMotor3OperationModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<MotorOperationMode>

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