Table of Contents

Method ReadLed0PwmPulseCounterAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadLed0PwmPulseCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led0PwmPulseCounter register.

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