Регистры Allwinner H616

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


SPI_RXD
9.3.5. SPI RX Data Regi - адрес: 0x5010300 0x5011300 (смещение: 0x0300)

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



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

  RDATA

Bits 31 : 0
R
0x0

Receive Data
This register can be accessed in byte, half-word or word unit by AHB.
In byte accessing method, if there are data in RXFIFO, the top word is returned and the RXFIFO depth is decreased by 1.
In half-word accessing method, two SPI bursts are returned and the RXFIFO depth is decreased by 2.
In word accessing method, the four SPI bursts are returned and the RXFIFO depth is decreased by 4.
Note: This address is readable-only if RF_TEST is '0', and if RF_TEST is set to
1 , this address is readable and writable to test the RX FIFO through the AHB bus.



Команда U-Boot для чтения регистра

md 5010300 1
md 5011300 1



Bit fields structure

typedef union  spi_rxd
{
  struct
  {
   unsigned rdata : 32;
  } b;
   unsigned long w;
} SPI_RXD
   

Allwinner H616 Manual