TianoCore EDK2 master
|
#include <MdePkg/Include/Protocol/SpiNorFlash.h>
The EFI_SPI_NOR_FLASH_PROTOCOL exists in the SPI peripheral layer. This protocol manipulates the SPI NOR flash parts using a common set of commands. The board layer provides the interconnection and configuration details for the SPI NOR flash part. The SPI NOR flash driver uses this configuration data to expose a generic interface which provides the following APls:
Definition at line 197 of file SpiNorFlash.h.
UINT8 _EFI_SPI_NOR_FLASH_PROTOCOL::Deviceid[3] |
Manufacture and Device ID
Definition at line 211 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_ERASE _EFI_SPI_NOR_FLASH_PROTOCOL::Erase |
Efficiently erases one or more 4KiB regions in the SPI flash.
Definition at line 251 of file SpiNorFlash.h.
UINT32 _EFI_SPI_NOR_FLASH_PROTOCOL::EraseBlockBytes |
Erase block size in bytes
Definition at line 216 of file SpiNorFlash.h.
UINT32 _EFI_SPI_NOR_FLASH_PROTOCOL::FlashSize |
Flash size in bytes
Definition at line 206 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_GET_FLASH_ID _EFI_SPI_NOR_FLASH_PROTOCOL::GetFlashid |
Read the 3 byte manufacture and device ID from the SPI flash.
Definition at line 221 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_READ_DATA _EFI_SPI_NOR_FLASH_PROTOCOL::LfReadData |
Low frequency read data from the SPI flash.
Definition at line 231 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_READ_DATA _EFI_SPI_NOR_FLASH_PROTOCOL::ReadData |
Read data from the SPI flash.
Definition at line 226 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_READ_STATUS _EFI_SPI_NOR_FLASH_PROTOCOL::ReadStatus |
Read the flash status register.
Definition at line 236 of file SpiNorFlash.h.
CONST EFI_SPI_PERIPHERAL* _EFI_SPI_NOR_FLASH_PROTOCOL::SpiPeripheral |
Pointer to an EFI_SPI_PERIPHERAL data structure
Definition at line 201 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_WRITE_DATA _EFI_SPI_NOR_FLASH_PROTOCOL::WriteData |
Write data to the SPI flash.
Definition at line 246 of file SpiNorFlash.h.
EFI_SPI_NOR_FLASH_PROTOCOL_WRITE_STATUS _EFI_SPI_NOR_FLASH_PROTOCOL::WriteStatus |
Write the flash status register.
Definition at line 241 of file SpiNorFlash.h.