Share via


SPI.InternalWriteRead Method (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.

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

Syntax

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

Parameters

  • writeBuffer
    The buffer whose contents will be written to the interface.
  • readBuffer
    The 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