Table of Contents

Method ReadPlaySoundOrFrequencyAsync

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

ReadPlaySoundOrFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the PlaySoundOrFrequency register.

public Task<ushort> ReadPlaySoundOrFrequencyAsync(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.