TianoCore EDK2 master
Loading...
Searching...
No Matches
SpiIo.h
Go to the documentation of this file.
1
12#ifndef __SPI_IO_PROTOCOL_H__
13#define __SPI_IO_PROTOCOL_H__
14
17
19
24typedef enum {
31
37
43
52
126typedef
130 IN EFI_SPI_TRANSACTION_TYPE TransactionType,
131 IN BOOLEAN DebugTransaction,
132 IN UINT32 ClockHz OPTIONAL,
133 IN UINT32 BusWidth,
134 IN UINT32 FrameSize,
135 IN UINT32 WriteBytes,
136 IN UINT8 *WriteBuffer,
137 IN UINT32 ReadBytes,
138 OUT UINT8 *ReadBuffer
139 );
140
164 );
165
175
181
189
193 UINT32 BusWidth;
194
198 UINT32 FrameSize;
199
204
211
215 UINT32 ReadBytes;
216
225
236
242
251
256
269
274
279
284};
285
286#endif // __SPI_IO_PROTOCOL_H__
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_SPI_IO_PROTOCOL_TRANSACTION)(IN CONST EFI_SPI_IO_PROTOCOL *This, IN EFI_SPI_TRANSACTION_TYPE TransactionType, IN BOOLEAN DebugTransaction, IN UINT32 ClockHz OPTIONAL, IN UINT32 BusWidth, IN UINT32 FrameSize, IN UINT32 WriteBytes, IN UINT8 *WriteBuffer, IN UINT32 ReadBytes, OUT UINT8 *ReadBuffer)
Definition: SpiIo.h:128
struct _EFI_SPI_BUS_TRANSACTION EFI_SPI_BUS_TRANSACTION
EFI_STATUS(EFIAPI * EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL)(IN CONST EFI_SPI_IO_PROTOCOL *This, IN CONST EFI_SPI_PERIPHERAL *SpiPeripheral)
Definition: SpiIo.h:161
EFI_SPI_TRANSACTION_TYPE
Definition: SpiIo.h:24
@ SPI_TRANSACTION_FULL_DUPLEX
Definition: SpiIo.h:30
@ SPI_TRANSACTION_READ_ONLY
Definition: SpiIo.h:42
@ SPI_TRANSACTION_WRITE_ONLY
Definition: SpiIo.h:36
@ SPI_TRANSACTION_WRITE_THEN_READ
Definition: SpiIo.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
BOOLEAN DebugTransaction
Definition: SpiIo.h:188
CONST EFI_SPI_PERIPHERAL * SpiPeripheral
Definition: SpiIo.h:174
EFI_SPI_TRANSACTION_TYPE TransactionType
Definition: SpiIo.h:180
CONST EFI_SPI_PERIPHERAL * SpiPeripheral
Definition: SpiIo.h:235
UINT32 Attributes
Definition: SpiIo.h:268
UINT32 MaximumTransferBytes
Definition: SpiIo.h:255
CONST EFI_LEGACY_SPI_CONTROLLER_PROTOCOL * LegacySpiProtocol
Definition: SpiIo.h:273
EFI_SPI_IO_PROTOCOL_TRANSACTION Transaction
Definition: SpiIo.h:278
EFI_SPI_IO_PROTOCOL_UPDATE_SPI_PERIPHERAL UpdateSpiPeripheral
Definition: SpiIo.h:283
UINT32 FrameSizeSupportMask
Definition: SpiIo.h:250
CONST EFI_SPI_PERIPHERAL * OriginalSpiPeripheral
Definition: SpiIo.h:241