Table of Contents

Method ReadPwm1ActualFrequencyAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadPwm1ActualFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1ActualFrequency register.

public Task<float> ReadPwm1ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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