Skip to main content
Crate fidl_next_common_fuchsia_hardware_i2c
fidl_
next_
common_
fuchsia_
hardware_
i2c
All Items
Crate Items
Modules
Structs
Constants
Traits
Crate
fidl_
next_
common_
fuchsia_
hardware_
i2c
Copy item path
Source
Re-exports
§
pub use self::
natural
::*;
Modules
§
compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
device
generic
natural
wire
wire_
optional
Structs
§
Device
The type corresponding to the Device protocol.
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
§
Device
Client
Handler
A client handler for the Device protocol.
Device
Server
Handler
A server handler for the Device protocol.