Instance Property send Transaction Type
Specifies one of three possible transaction types.
macOS 10.3+ Mac Catalyst 13.0+ Discussion
The following types of transaction are defined for the send part of the request:
Possible values for
send Transaction Type
k IOI2CNo Transaction Type
No send transaction to perform.
k IOI2CSimple Transaction Type
Simple I2C message.
k IOI2CCombined Transaction Type
Combined format I2C R/~W transaction.
See Also Fields 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.
A completion routine to be executed when the request completes. If NULL is passed, the request is synchronous, otherwise it may execute asynchronously.
Flags that modify the I2C transaction type.
min Reply Delay
Minimum delay as absolute time between send and reply transactions.
Number of bytes to send. Set to actual bytes sent on completion of the request.
Max bytes to reply (size of replyBuffer). Set to actual bytes received on completion of the request.