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)
Syntaxpublic uint[] TransferArray(
IEnumerable<uint> WriteData
)
Public Function TransferArray (
WriteData As IEnumerable(Of UInteger)
) As UInteger()
public:
virtual array<unsigned int>^ TransferArray(
IEnumerable<unsigned int>^ WriteData
) sealed
abstract TransferArray :
WriteData : IEnumerable<uint32> -> uint32[]
override TransferArray :
WriteData : IEnumerable<uint32> -> uint32[]
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:
UInt32The data received from the slave device on the MISO line, as an array
Implements
ISpi32Interface.TransferArray(IEnumerableUInt32)
See Also