A SPI flash command. More...
#include <sw/device/silicon_creator/lib/drivers/spi_device.h>
Data Fields | |
| spi_device_opcode_t | opcode |
| Command opcode. More... | |
| uint32_t | address |
| Address. More... | |
| size_t | payload_byte_count |
| Payload size in bytes. More... | |
| uint8_t | payload [kSpiDevicePayloadAreaNumBytes] |
| Payload. | |
A SPI flash command.
Definition at line 310 of file spi_device.h.
| uint32_t spi_device_cmd::address |
Address.
This field is set to kSpiDeviceNoAddress if the command does not have an address field.
Definition at line 323 of file spi_device.h.
| spi_device_opcode_t spi_device_cmd::opcode |
Command opcode.
See spi_device_opcode_t for a list of command opcodes.
Definition at line 316 of file spi_device.h.
| uint8_t spi_device_cmd::payload[kSpiDevicePayloadAreaNumBytes] |
Payload.
Definition at line 333 of file spi_device.h.
| size_t spi_device_cmd::payload_byte_count |
Payload size in bytes.
This value must never exceed kSpiDevicePayloadAreaNumBytes.
Definition at line 329 of file spi_device.h.