Macros§
- Data
Transfer Unknown - Pattern that matches an unknown
DataTransfer
member.
Structs§
- Device
Control Handle - Device
Event Stream - Device
GetName Responder - Device
GetName Response - Device
Marker - Device
Proxy - Device
Request Stream - A Stream of incoming requests for fuchsia.hardware.i2c/Device.
- Device
Synchronous Proxy - Device
Transfer Request - Device
Transfer Responder - Device
Transfer Response - Service
Marker - Service
Proxy - Transaction
data_transfer
is mandatory, and specifies whether this transaction has a read or a write transfer (see above).stop
is optional, and specifies whether this transaction is terminated by a stop condition (if true) or by a repeated-start (if false or unspecified). If this transaction is the last in the list then a stop condition is generated regardless of the value ofstop
.
Enums§
- Data
Transfer - If
read_size
is set: This is a read transfer, andread_size
bytes will be read from the target. Ifwrite_data
is set: This is a write transfer, andwrite_data
will be written to the target. - Device
Event - Device
Request - Service
Request - A request for one of the member protocols of Service.
Constants§
- MAX_
COUNT_ TRANSACTIONS - The maximum number of transactions that can be specified in a call to
Transfer
. - MAX_
I2_ C_ NAME_ LEN - Maximum length of the I2C Channel name.
- MAX_
TRANSFER_ SIZE - Clients should be aware of the max channel message size when using large transfers or many transactions. It is possible to generate a message that uses values less than the limits below but is still too big for the channel.
Traits§
Type Aliases§
- Device
GetName Result - Device
Transfer Result - Read
Data - Used to return data from read transfers.