Instance Property

commFlags

Flags that modify the I2C transaction type.

Declaration

IOOptionBits commFlags;

Discussion

The following flags are defined:

kIOI2CUseSubAddressCommFlag - Transaction includes a subaddress.

See Also

Fields

__reservedA

Set to zero.

result

The result of the transaction. Common errors are kIOReturnNoDevice if there is no device responding at the given address, kIOReturnUnsupportedMode if the type of transaction is unsupported on the requested bus.

completion

A completion routine to be executed when the request completes. If NULL is passed, the request is synchronous, otherwise it may execute asynchronously.

minReplyDelay

Minimum delay as absolute time between send and reply transactions.

sendAddress

I2C address to write.

sendSubAddress

I2C subaddress to write.

__reservedB

Set to zero.

sendTransactionType

Specifies one of three possible transaction types.

sendBuffer

Pointer to the send buffer.

sendBytes

Number of bytes to send. Set to actual bytes sent on completion of the request.

replyAddress

I2C Address from which to read.

replySubAddress

I2C Address from which to read.

__reservedC

Set to zero.

replyTransactionType

Specifies one of four possible reply transaction types.

replyBuffer

Pointer to the reply buffer.

replyBytes

Max bytes to reply (size of replyBuffer). Set to actual bytes received on completion of the request.

__reservedD

Set to zero.