fuchsia.hardware.spi.businfo

Added: HEAD

ENUMS

SpiClockPhase flexible

Type: uint32

Defined in fuchsia.hardware.spi.businfo/businfo.fidl

NameValueDescription
0
1

TABLES

SpiBusMetadata

Defined in fuchsia.hardware.spi.businfo/businfo.fidl

Passed to the spi driver in platform device metadata.

OrdinalFieldTypeDescription
channels vector<SpiChannel>:32
bus_id uint32

ID of the bus that these devices are on. Set as a bind property on the nodes added by the SPI core driver.

SpiChannel

Defined in fuchsia.hardware.spi.businfo/businfo.fidl

Represents a single device on a SPI bus.

OrdinalFieldTypeDescription
cs uint32

Chip select number for the device.

vid uint32

Vendor ID. Used when binding via platform bus device IDs.

pid uint32

Product ID. Used when binding via platform bus device IDs.

did uint32

Device ID. Used when binding via platform bus device IDs.

cs_polarity_high bool

Chip select polarity: true == high, false == low.

word_length_bits uint8

Size in bits of a single word on the SPI bus.

is_bus_controller bool

Are we in charge of the bus?

clock_polarity_high bool

Clock polarity. true == high, false == low.

clock_phase SpiClockPhase

Clock phase.

CONSTANTS

NameValueTypeDescription
MAX_SPI_CHANNEL 32 uint32