Table of Contents

Method ReadPortDIOToggleAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadPortDIOToggleAsync(CancellationToken)

Asynchronously reads the contents of the PortDIOToggle register.

public Task<PortDigitalIOS> ReadPortDIOToggleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PortDigitalIOS>

A task that represents the asynchronous read operation. The Result property contains the register payload.