fuchsia.hardware.spi

PROTOCOLS

Device

Defined in fuchsia.hardware.spi/spi.fidl

Transmit

Half-duplex transmit data to a SPI device; always transmits the entire buffer on success.

Request

NameType
data vector<uint8>[8196]

Response

NameType
status zx/status

Receive

Half-duplex receive data from a SPI device; always reads the full size requested.

Request

NameType
size uint32

Response

NameType
status zx/status
data vector<uint8>[8196]

Exchange

Full-duplex SPI transaction. Received data will exactly equal the length of the transmit buffer.

Request

NameType
txdata vector<uint8>[8196]

Response

NameType
status zx/status
rxdata vector<uint8>[8196]

STRUCTS

CONSTANTS

NameValueTypeDescription
MAX_TRANSFER_SIZE 8196 uint32