Table of Contents

Method ReadInt64Async

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadInt64Async(int, CancellationToken)

Asynchronously reads the value of a 64-bit signed integer register with the specified address.

public Task<long> ReadInt64Async(int address, CancellationToken cancellationToken = default)

Parameters

address int

The address of the register to read.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<long>

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