TDATA Bits 31 : 0 R/W 0x0
Transmit Data
This register can be accessed in byte, half-word or word unit by AHB.
In byte accessing method, if there are rooms in TXFIFO, one burst data is written to
TXFIFO and the depth is increased by 1.
In half-word accessing method, two SPI burst data are written and the TXFIFO depth is increased by 2.
In word accessing method, four SPI burst data are written and the TXFIFO depth is increased by 4.
Note: This address is writable-only if TF_TEST is '0', and if TF_TEST is set to
1 , this address is readable and writable to test the TX FIFO through the AHB bus. Команда U-Boot для чтения регистра md 5010200 1 md 5011200 1
Bit fields structure
typedef union spi_txd
{
struct
{
unsigned tdata : 32;
} b;
unsigned long w;
} SPI_TXD
|