Table of Contents

Method ReadSamplingRateAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadSamplingRateAsync(CancellationToken)

Asynchronously reads the contents of the SamplingRate register.

public Task<SamplingRateMode> ReadSamplingRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<SamplingRateMode>

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