TianoCore EDK2 master
Loading...
Searching...
No Matches
_EFI_SPI_BUS Struct Reference

#include <MdePkg/Include/Protocol/SpiConfiguration.h>

Data Fields

CONST CHAR16 * FriendlyName
 
CONST EFI_SPI_PERIPHERALPeripherallist
 
CONST EFI_DEVICE_PATH_PROTOCOLControllerPath
 
EFI_SPI_CLOCK Clock
 
VOID * ClockParameter
 

Detailed Description

The EFI_SPI_BUS data structure provides the connection details between the physical SPI bus and the EFI_SPI_HC_PROTOCOL instance which controls that SPI bus. This data structure also describes the details of how the clock is generated for that SPI bus. Finally this data structure provides the list of physical SPI devices which are attached to the SPI bus.

Definition at line 137 of file SpiConfiguration.h.

Field Documentation

◆ Clock

EFI_SPI_CLOCK _EFI_SPI_BUS::Clock

Address of the routine which controls the clock used by the SPI bus for this SPI peripheral. The SPI host co ntroller's clock routine is called when this value is set to NULL.

Definition at line 160 of file SpiConfiguration.h.

◆ ClockParameter

VOID* _EFI_SPI_BUS::ClockParameter

Address of a data structure containing the additional values which describe the necessary control for the clock. When Clock is NULL, the declaration for this data structure is provided by the vendor of the host's SPI controller driver. When Clock is not NULL, the declaration for this data structure is provided by the board layer.

Definition at line 169 of file SpiConfiguration.h.

◆ ControllerPath

CONST EFI_DEVICE_PATH_PROTOCOL* _EFI_SPI_BUS::ControllerPath

Address of an EFI_DEVICE_PATH_PROTOCOL data structure which uniquely describes the SPI controller.

Definition at line 153 of file SpiConfiguration.h.

◆ FriendlyName

CONST CHAR16* _EFI_SPI_BUS::FriendlyName

A Unicode string describing the SPI bus

Definition at line 141 of file SpiConfiguration.h.

◆ Peripherallist

CONST EFI_SPI_PERIPHERAL* _EFI_SPI_BUS::Peripherallist

Address of the first EFI_SPI_PERIPHERAL data structure connected to this bus. Specify NULL if there are no SPI peripherals connected to this bus.

Definition at line 147 of file SpiConfiguration.h.


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