Table of Contents

Method ReadMotor2HoldCurrentReductionAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotor2HoldCurrentReductionAsync(CancellationToken)

Asynchronously reads the contents of the Motor2HoldCurrentReduction register.

public Task<HoldCurrentReduction> ReadMotor2HoldCurrentReductionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<HoldCurrentReduction>

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