Crate fidl_fuchsia_hardware_i2c
source ·Macros§
- Pattern that matches an unknown
DataTransfer
member.
Structs§
- A Stream of incoming requests for fuchsia.hardware.i2c/Device.
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§
- 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. - A request for one of the member protocols of Service.
Constants§
- The maximum number of transactions that can be specified in a call to
Transfer
. - Maximum length of the I2C Channel name.
- 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§
- Used to return data from read transfers.