Share via


WriteRead Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method WriteRead(array<Byte> [] () [] [], array<Byte> [] () [] []) Writes an array of bytes to the interface, and reads an array of bytes from the interface.
Public method WriteRead(array<UInt16> [] () [] [], array<UInt16> [] () [] []) Writes an array of bytes to the interface, and reads an array of bytes from the interface into the read buffer.
Public method WriteRead(array<Byte> [] () [] [], array<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.
Public method WriteRead(array<UInt16> [] () [] [], array<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.
Public method WriteRead(array<Byte> [] () [] [], Int32, Int32, array<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.
Public method WriteRead(array<UInt16> [] () [] [], Int32, Int32, array<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.

Top

See Also

Reference

SPI Class

Microsoft.SPOT.Hardware Namespace