PROTOCOLS
Device
Defined in fuchsia.hardware.spi/spi.fidl
Exchange
Full-duplex SPI transaction. Received data will exactly equal the length of the transmit buffer.
Request
Name | Type |
---|---|
txdata |
vector<uint8>[8196]
|
Response
Name | Type |
---|---|
status |
zx/status
|
rxdata |
vector<uint8>[8196]
|
Receive
Half-duplex receive data from a SPI device; always reads the full size requested.
Request
Name | Type |
---|---|
size |
uint32
|
Response
Name | Type |
---|---|
status |
zx/status
|
data |
vector<uint8>[8196]
|
Transmit
Half-duplex transmit data to a SPI device; always transmits the entire buffer on success.
Request
Name | Type |
---|---|
data |
vector<uint8>[8196]
|
Response
Name | Type |
---|---|
status |
zx/status
|
STRUCTS
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
MAX_TRANSFER_SIZE |
8196
|
uint32 |