PROTOCOLS
Device
Defined in fuchsia.hardware.ftdi/ftdi.fidl
CreateI2C
Create an I2c bus on the FTDI device with a given layout
and
with device
attached to it.
Request
Name | Type |
---|---|
layout |
I2cBusLayout
|
device |
I2cDevice
|
STRUCTS
I2cBusLayout
Defined in fuchsia.hardware.ftdi/ftdi.fidl
This represents the data necessary for the FTDI device to create an I2C bus.
Name | Type | Description | Default |
---|---|---|---|
scl |
uint32
|
No default | |
sda_out |
uint32
|
The FTDI needs two pins to be able to drive input and output for SDA. Please specify the two pins here. They must be physically tied together on the board with a jumper wire. |
No default |
sda_in |
uint32
|
No default |
I2cDevice
Defined in fuchsia.hardware.ftdi/ftdi.fidl
Each one of these represents an I2cDevice that will exist on the newly created bus. The I2C bus will try and bind a driver on the bus with the given VID, PID, DID.
Name | Type | Description | Default |
---|---|---|---|
address |
uint32
|
No default | |
vid |
uint32
|
No default | |
pid |
uint32
|
No default | |
did |
uint32
|
No default |