Table of Contents

Method ReadPortDIODirectionAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadPortDIODirectionAsync(CancellationToken)

Asynchronously reads the contents of the PortDIODirection register.

public Task<PortDigitalIOS> ReadPortDIODirectionAsync(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.