Click or drag to resize

FX3ConnectionTransferArray Method (IEnumerableUInt32)

This function performs an array bi-directional SPI transfer. WriteData.Count() total SPI transfers are performed. If DrActive is set to true, the transfer should wait until a data ready condition (determined by DrPin and DrPolarity) is true, and then perform all SPI transfers. If DrActive is false it is performed asynchronously.

Namespace:  FX3Api
Assembly:  FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntax
public uint[] TransferArray(
	IEnumerable<uint> WriteData
)

Parameters

WriteData
Type: System.Collections.GenericIEnumerableUInt32
The data to be written to the slave on the MOSI line in each SPI transaction. The total number of transfers performed is determined by the size of WriteData.

Return Value

Type: UInt32
The data received from the slave device on the MISO line, as an array

Implements

ISpi32Interface.TransferArray(IEnumerableUInt32)
See Also