XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
_EFI_SPI_IO_PROTOCOL Struct Reference

#include <SpiIo.h>

Collaboration diagram for _EFI_SPI_IO_PROTOCOL:
Collaboration graph
[legend]

Public Attributes

CONST EFI_SPI_PERIPHERALSpiPeripheral
 
CONST EFI_SPI_PERIPHERALOriginalSpiPeripheral
 
UINT32 FrameSizeSupportMask
 
UINT32 MaximumTransferBytes
 
UINT32 Attributes
 
CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOLLegacySpiProtocol
 
EFI_SPI_IO_PROTOCOL_TRANSACTION Transaction
 
EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral
 

Detailed Description

Support managed SPI data transactions between the SPI controller and a SPI chip.

Member Data Documentation

◆ Attributes

UINT32 _EFI_SPI_IO_PROTOCOL::Attributes

Transaction attributes: One or more from:

  • SPI_10_SUPPORTS_2_B1T_DATA_BUS_W1DTH
    • The SPI host and peripheral supports a 2-bit data bus
  • SPI_IO_SUPPORTS_4_BIT_DATA_BUS_W1DTH
    • The SPI host and peripheral supports a 4-bit data bus
  • SPI_IO_TRANSFER_SIZE_INCLUDES_OPCODE
    • Transfer size includes the opcode byte
  • SPI_IO_TRANSFER_SIZE_INCLUDES_ADDRESS
    • Transfer size includes the 3 address bytes

◆ FrameSizeSupportMask

UINT32 _EFI_SPI_IO_PROTOCOL::FrameSizeSupportMask

Mask of frame sizes which the SPI 10 layer supports. Frame size of N-bits is supported when bit N-1 is set. The host controller must support a frame size of 8-bits. Frame sizes of 16, 24 and 32-bits are converted to 8-bit frame sizes by the SPI bus layer if the frame size is not supported by the SPI host controller.

◆ LegacySpiProtocol

CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL* _EFI_SPI_IO_PROTOCOL::LegacySpiProtocol

Pointer to legacy SPI controller protocol

◆ MaximumTransferBytes

UINT32 _EFI_SPI_IO_PROTOCOL::MaximumTransferBytes

Maximum transfer size in bytes: 1 - Oxffffffff

◆ OriginalSpiPeripheral

CONST EFI_SPI_PERIPHERAL* _EFI_SPI_IO_PROTOCOL::OriginalSpiPeripheral

Address of the original EFI_SPI_PERIPHERAL data structure associated with this protocol instance.

◆ SpiPeripheral

CONST EFI_SPI_PERIPHERAL* _EFI_SPI_IO_PROTOCOL::SpiPeripheral

Address of an EFI_SPI_PERIPHERAL data structure associated with this protocol instance.

◆ Transaction

EFI_SPI_IO_PROTOCOL_TRANSACTION _EFI_SPI_IO_PROTOCOL::Transaction

Initiate a SPI transaction between the host and a SPI peripheral.

◆ UpdateSpiPeripheral

EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL _EFI_SPI_IO_PROTOCOL::UpdateSpiPeripheral

Update the SPI peripheral associated with this SPI 10 instance.


The documentation for this struct was generated from the following file: