iPXE
Modules | Defines
SPI commands

Modules

 Atmel-specific SPI commands

Defines

#define SPI_WRSR   0x01
 Write status register.
#define SPI_WRITE   0x02
 Write data to memory array.
#define SPI_READ   0x03
 Read data from memory array.
#define SPI_WRDI   0x04
 Reset write enable latch.
#define SPI_RDSR   0x05
 Read status register.
#define SPI_WREN   0x06
 Set write enable latch.

Define Documentation

#define SPI_WRSR   0x01

Write status register.

Definition at line 20 of file spi.h.

#define SPI_WRITE   0x02

Write data to memory array.

Definition at line 23 of file spi.h.

Referenced by spi_write().

#define SPI_READ   0x03

Read data from memory array.

Definition at line 26 of file spi.h.

Referenced by spi_read().

#define SPI_WRDI   0x04

Reset write enable latch.

Definition at line 29 of file spi.h.

#define SPI_RDSR   0x05

Read status register.

Definition at line 32 of file spi.h.

Referenced by spi_wait().

#define SPI_WREN   0x06

Set write enable latch.

Definition at line 35 of file spi.h.

Referenced by spi_write().