Регистры Allwinner H616

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


DMA_DESC_ADDR_REG
3.9.5. DMA Channel Start Address Register(N=0~15) - адрес: 0x1000007002008 (смещение: 0x0100+N*0x0040+0x0008)

Прямой доступ к памяти: список регистров



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

  DMA_DESC_LOW_ADDR

Bits 31 : 2
R/W
0x0

DMA Channel Descriptor Word Address, Low 30bits.
The Descriptor Address must be word-aligned.


  DMA_DESC_HIGH_ADDR

Bits 1 : 0
R/W
0x0

DMA Channel Descriptor High Address, High 2bits
The real address is as below:
DMA Channel Descriptor Address = {bit[1:0],bit[31:2],2’b00};



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

md 1000007002008 1



Bit fields structure

typedef union  dma_desc_addr_reg
{
  struct
  {
   unsigned dma_desc_high_addr : 2;
   unsigned dma_desc_low_addr : 30;
  } b;
   unsigned long w;
} DMA_DESC_ADDR_REG
   

Allwinner H616 Manual