iPXE
Defines
Three-wire commands

Defines

#define THREEWIRE_READ   0x6
 Read data from memory array.
#define THREEWIRE_WRITE   0x5
 Write data to memory array.
#define THREEWIRE_EWEN   0x4
 Write enable.
#define THREEWIRE_EWEN_ADDRESS   INT_MAX
 Address to be used for write enable command.
#define THREEWIRE_WRITE_MDELAY   10
 Time to wait for write cycles to complete.

Define Documentation

#define THREEWIRE_READ   0x6

Read data from memory array.

Definition at line 24 of file threewire.h.

Referenced by threewire_read().

#define THREEWIRE_WRITE   0x5

Write data to memory array.

Definition at line 27 of file threewire.h.

Referenced by threewire_write().

#define THREEWIRE_EWEN   0x4

Write enable.

Definition at line 30 of file threewire.h.

Referenced by threewire_write().

Address to be used for write enable command.

Definition at line 33 of file threewire.h.

Referenced by threewire_write().

#define THREEWIRE_WRITE_MDELAY   10

Time to wait for write cycles to complete.

This is sufficient for AT93C46/AT93C56 devices, but may need to be increased in future when other devices are added.

Definition at line 40 of file threewire.h.

Referenced by threewire_write().