Table of Contents

Method ReadDisableEncodersAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadDisableEncodersAsync(CancellationToken)

Asynchronously reads the contents of the DisableEncoders register.

public Task<QuadratureEncoders> ReadDisableEncodersAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<QuadratureEncoders>

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