Table of Contents

Method ReadTimestampedEncoderModeAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadTimestampedEncoderModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EncoderMode register.

public Task<Timestamped<EncoderModeConfig>> ReadTimestampedEncoderModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<EncoderModeConfig>>

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