Table of Contents

Method ReadBatteryAsync

Namespace
Harp.TimestampGeneratorGen3
Assembly
Harp.TimestampGeneratorGen3.dll

ReadBatteryAsync(CancellationToken)

Asynchronously reads the contents of the Battery register.

public Task<float> ReadBatteryAsync(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.