Table of Contents

Method ReadEnableDigitalInputsAsync

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

ReadEnableDigitalInputsAsync(CancellationToken)

Asynchronously reads the contents of the EnableDigitalInputs register.

public Task<DigitalInputs> ReadEnableDigitalInputsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalInputs>

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