Share via


SPI.InternalWriteRead Method (UInt16[], UInt16[], Int32)

Writes an array of unsigned 16-bit characters to the interface, and reads an array of unsigned 16-bit characters from the interface into a specified location in the read buffer.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

[MethodImplAttribute(InternalCall)]
public void InternalWriteRead (
         UInt16[] writeBuffer,
         UInt16[] readBuffer,
         intreadOffset
)

Parameters

  • writeBuffer
    The 16-bit buffer whose contents will be written to the interface.
  • readBuffer
    The 16-bit buffer that will store the data that is read from the interface.
  • readOffset
    The location in readBuffer where data storage should begin.

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

SPI Class
SPI Members
Microsoft.SPOT.Hardware Namespace