Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


SPI_TXD
9.3.5. SPI TX Data Register - адрес: 0x5010200 0x5011200 (смещение: 0x0200)

Синхронный последовательный интерфейс: список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  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
   

Allwinner H616 Manual