I2CDevice.Execute Method

Windows Automotive 5.0/5.5
Executes a transaction by scheduling the transfer of the data involved.

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

[MethodImplAttribute]
public int Execute (
         I2CTransaction[] xActions,
         int timeout
)

Parameters

xActions
The object that contains the transaction data.
timeout
The amount of time the system will wait before resuming execution of the transaction.

Return Value

The number of bytes of data transferred in the transaction.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show: