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