Table of Contents

Method WriteUInt64Async

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteUInt64Async(int, ulong, CancellationToken)

Asynchronously writes a value to a 64-bit unsigned integer register with the specified address.

public Task WriteUInt64Async(int address, ulong value, CancellationToken cancellationToken = default)

Parameters

address int

The address of the register to write.

value ulong

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteUInt64Async(int, ulong[], CancellationToken)

Asynchronously writes an array of values to a 64-bit unsigned integer register with the specified address.

public Task WriteUInt64Async(int address, ulong[] values, CancellationToken cancellationToken = default)

Parameters

address int

The address of the register to write.

values ulong[]

The values to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.