Table of Contents

Method ReadMotor0MicrostepResolutionAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadMotor0MicrostepResolutionAsync(CancellationToken)

Asynchronously reads the contents of the Motor0MicrostepResolution register.

public Task<MicrostepResolution> ReadMotor0MicrostepResolutionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<MicrostepResolution>

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