Table of Contents

Method ReadOut1PulseWidthAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadOut1PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out1PulseWidth register.

public Task<ushort> ReadOut1PulseWidthAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

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