Share via


SPI.WriteRead Method

Writes a block of data to the interface, and reads a block of data from the interface into the read buffer.

Overload List

Name Description
SPI.WriteRead (Byte[], Byte[]) Writes an array of bytes to the interface, and reads an array of bytes from the interface.
SPI.WriteRead (Byte[], Byte[], Int32) Writes an array of bytes to the interface, and reads an array of bytes from the interface into a specified location in the read buffer.
SPI.WriteRead (Byte[], Int32, Int32, Byte[], Int32, Int32, Int32) Writes an array of bytes to the interface, and reads an array of bytes from the interface into a specified location in the read buffer.
SPI.WriteRead (UInt16[], Int32, Int32, UInt16[], Int32, Int32, Int32) Writes an array of unsigned values to the interface, and reads an array of unsigned values from the interface into a specified location in the read buffer.
SPI.WriteRead (UInt16[], UInt16[]) Writes an array of bytes to the interface, and reads an array of bytes from the interface into the read buffer.
SPI.WriteRead (UInt16[], UInt16[], Int32) Writes an array of unsigned values to the interface, and reads an array of unsigned values from the interface into a specified location in the read buffer.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

SPI Class
SPI Members
Microsoft.SPOT.Hardware Namespace