Table of Contents

Method WriteSamplingRateAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

WriteSamplingRateAsync(SamplingRateMode, CancellationToken)

Asynchronously writes a value to the SamplingRate register.

public Task WriteSamplingRateAsync(SamplingRateMode value, CancellationToken cancellationToken = default)

Parameters

value SamplingRateMode

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.