Table of Contents

Method ReadEnableProtocolAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadEnableProtocolAsync(CancellationToken)

Asynchronously reads the contents of the EnableProtocol register.

public Task<EnableFlag> ReadEnableProtocolAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.