Table of Contents

Method ReadAuxInStateAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadAuxInStateAsync(CancellationToken)

Asynchronously reads the contents of the AuxInState register.

public Task<AuxiliaryInputs> ReadAuxInStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AuxiliaryInputs>

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