Method ReadStopMotorsAsync
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
ReadStopMotorsAsync(CancellationToken)
Asynchronously reads the contents of the StopMotors register.
public Task<StepperMotors> ReadStopMotorsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<StepperMotors>
A task that represents the asynchronous read operation. The Result property contains the register payload.