Edit

Share via


SpiDevice.TransferFullDuplex Method

Definition

Writes and reads data from the SPI device.

public abstract void TransferFullDuplex (ReadOnlySpan<byte> writeBuffer, Span<byte> readBuffer);
abstract member TransferFullDuplex : ReadOnlySpan<byte> * Span<byte> -> unit
Public MustOverride Sub TransferFullDuplex (writeBuffer As ReadOnlySpan(Of Byte), readBuffer As Span(Of Byte))

Parameters

writeBuffer
ReadOnlySpan<Byte>

The buffer that contains the data to be written to the SPI device.

readBuffer
Span<Byte>

The buffer to read the data from the SPI device.

Applies to