Table of Contents

Method ReadFrequencyDI1Async

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

ReadFrequencyDI1Async(CancellationToken)

Asynchronously reads the contents of the FrequencyDI1 register.

public Task<ushort> ReadFrequencyDI1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

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