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