Share via


SpiDevice.TransferFullDuplex(Byte[], Byte[]) Method

Definition

Transfer data using a full duplex communication system. Full duplex allows both the host and the peripheral to communicate simultaneously.

For definitions of host and peripheral, see Windows.Devices.Spi namespace.

public:
 virtual void TransferFullDuplex(Platform::Array <byte> ^ writeBuffer, Platform::Array <byte> ^ readBuffer) = TransferFullDuplex;
void TransferFullDuplex(winrt::array_view <byte> const& writeBuffer, winrt::array_view <byte> & readBuffer);
public void TransferFullDuplex(byte[] writeBuffer, byte[] readBuffer);
function transferFullDuplex(writeBuffer, readBuffer)
Public Sub TransferFullDuplex (writeBuffer As Byte(), readBuffer As Byte())

Parameters

writeBuffer

Byte[]

byte[]

Array containing data to write to the device.

readBuffer

Byte[]

byte[]

Array containing data read from the device.

Windows requirements

App capabilities
lowLevel

Applies to