Table of Contents

Method ReadOut4PulseWidthAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadOut4PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out4PulseWidth register.

public Task<ushort> ReadOut4PulseWidthAsync(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.