SpiDevice.TransferFullDuplex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.