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