// spb.h
typedef struct SPB_MULTI_SPI_TRANSFER {
SPB_MULTI_SPI_TRANSFER_HEADER Header;
ULONG TransferPhaseCount;
SPB_TRANSFER_LIST_ENTRY TransferPhases[1];
} SPB_MULTI_SPI_TRANSFER, *PSPB_MULTI_SPI_TRANSFER;
View the official Windows Driver Kit DDI referenceNo description available.
The SPB_MULTI_SPI_TRANSFER structure describes a SPI I/O operation which is to be executed using a multi-SPI transfer mode such as Dual or Quad SPI.
HeaderA SPB_MULTI_SPI_TRANSFER_HEADER structure containing the parameters of the transfer.
TransferPhaseCountThe number of transfer phases present in the transfer structure. For a read operation, this should be set to 2 (representing a read phase, then a write phase). For a write operation, this should be set to 1 (representing solely a write phase).
TransferPhasesAn array of SPB_TRANSFER_LIST_ENTRY structures, representing the phases of the transfer.
If this structure is used directly (rather than SPB_MULTI_SPI_WRITE_TRANSFER or SPB_MULTI_SPI_READ_TRANSFER), it must be initialized using the SPB_MULTI_SPI_TRANSFER_INIT helper function.
This structure (and the associated header) allows for the following to be specified:
The following restrictions apply to this structure: