iPXE
Data Fields
spi_bit_basher Struct Reference

A bit-bashing SPI bus. More...

#include <spi_bit.h>

Data Fields

struct spi_bus bus
 SPI bus.
struct bit_basher basher
 Bit-bashing interface.
int endianness
 Endianness of data.

Detailed Description

A bit-bashing SPI bus.

Definition at line 16 of file spi_bit.h.


Field Documentation

Endianness of data.

SPI commands and addresses are always big-endian (i.e. MSB transmitted first on the wire), but some cards (e.g. natsemi) choose to regard the data stored in the EEPROM as little-endian (i.e. LSB transmitted first on the wire).

Definition at line 29 of file spi_bit.h.

Referenced by spi_bit_rw().


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