|
XenevaOS
|
#include <SpiHc.h>

Support a SPI data transaction between the SPI controller and a SPI chip.
| UINT32 _EFI_SPI_HC_PROTOCOL::Attributes |
Host control attributes, may have zero or more of the following set:
| EFI_SPI_HC_PROTOCOL_CHIP_SELECT _EFI_SPI_HC_PROTOCOL::ChipSelect |
Assert or deassert the SPI chip select.
| EFI_SPI_HC_PROTOCOL_CLOCK _EFI_SPI_HC_PROTOCOL::Clock |
Set up the clock generator to produce the correct clock frequency, phase and polarity for a SPI chip.
| UINT32 _EFI_SPI_HC_PROTOCOL::FrameSizeSupportMask |
Mask of frame sizes which the SPI host controller 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.
| UINT32 _EFI_SPI_HC_PROTOCOL::MaximumTransferBytes |
Maximum transfer size in bytes: 1 - Oxffffffff
| EFI_SPI_HC_PROTOCOL_TRANSACTION _EFI_SPI_HC_PROTOCOL::Transaction |
Perform the SPI transaction on the SPI peripheral using the SPI host controller.