Table of Contents

Method ReadTimestampedPwm1PulseCountAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadTimestampedPwm1PulseCountAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1PulseCount register.

public Task<Timestamped<ushort>> ReadTimestampedPwm1PulseCountAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

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