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