Table of Contents

Method WritePortDIODirectionAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

WritePortDIODirectionAsync(PortDigitalIOS, CancellationToken)

Asynchronously writes a value to the PortDIODirection register.

public Task WritePortDIODirectionAsync(PortDigitalIOS value, CancellationToken cancellationToken = default)

Parameters

value PortDigitalIOS

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.