Table of Contents

Method WriteEncoderModeAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

WriteEncoderModeAsync(EncoderModeConfig, CancellationToken)

Asynchronously writes a value to the EncoderMode register.

public Task WriteEncoderModeAsync(EncoderModeConfig value, CancellationToken cancellationToken = default)

Parameters

value EncoderModeConfig

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.