[][src]Module i2cbus_api::models

Structs

Addr

A valid I2C slave address

BusId

A valid bus ID as returned by i2c_bus_list

Error

Some error text

I2cBusArg

Indicates a malformed request, likely a badly formatted or invalid argument)

I2cBusError

An error response from the I2C transaction

I2cBusList

A list of available I2C buses

I2cBusOk

A successful response from the I2C transaction

I2cBusRead

A successful read response

I2cByte

A byte read from the I2C bus

NumBytes

Number of bytes to write or read

Reg

An I2C slave device register

Value

A value to read from or write to the I2C bus

Values

Bytes to write to the bus

Yaml

A YAML file