Modules§
- compat
- Compatibility shims which mimic some API surfaces of the current Rust bindings.
- device
- i2c_
impl_ op_ type
Structs§
- Device
- The type corresponding to the Device protocol. Low-level protocol for i2c drivers.
- Device
GetMax Transfer Size Response - Device
SetBitrate Request - Device
Transact Request - Device
Transact Response - I2cImpl
Op - See
Transact
below for usage. - Read
Data - The result of one read transaction.
- Service
- The type corresponding to the Service service.
- Service
Connector - A strongly-typed service connector for the
Service
service. - Wire
Device GetMax Transfer Size Response - The wire type corresponding to
DeviceGetMaxTransferSizeResponse
. - Wire
Device SetBitrate Request - The wire type corresponding to
DeviceSetBitrateRequest
. - Wire
Device Transact Request - The wire type corresponding to
DeviceTransactRequest
. - Wire
Device Transact Response - The wire type corresponding to
DeviceTransactResponse
. - Wire
I2cImpl Op - The wire type corresponding to
I2cImplOp
. - Wire
I2cImpl OpType - The wire type corresponding to
I2cImplOpType
. - Wire
Optional I2cImpl OpType - Wire
Read Data - The wire type corresponding to
ReadData
.
Enums§
- I2cImpl
OpType - If
read_size
is set: This is a read operation andread_size
bytes will be read. Ifwrite_data
is set: This is a write operation andwrite_data
will be written.
Traits§
- Device
Client Handler - A client handler for the Device protocol.
- Device
Server Handler - A server handler for the Device protocol.
- Service
Handler - A service handler for the
Service
service.
Type Aliases§
- Device
SetBitrate Response - Wire
Device SetBitrate Response - The wire type corresponding to
DeviceSetBitrateResponse
.