Регистры Allwinner H616

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


DMA_STA_REG
3.9.5. DMA Status Register - адрес: 0x3002030 (смещение: 0x0030)

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



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

  Unused

Bit 31

  MBUS_FIFO_STATUS

Bit 30
R
0x0

0: Empty
1: Not Empty


  Unused

Bits 29 : 16

  DMA15_STATUS

Bit 15
R
0x0

DMA Channel 15 Status
0: Idle
1: Busy


  DMA14_STATUS

Bit 14
R
0x0

DMA Channel 14 Status
0: Idle
1: Busy


  DMA13_STATUS

Bit 13
R
0x0

DMA Channel 13 Status
0: Idle
1: Busy


  DMA12_STATUS

Bit 12
R
0x0

DMA Channel 12 Status
0: Idle
1: Busy


  DMA11_STATUS

Bit 11
R
0x0

DMA Channel 11 Status
0: Idle
1: Busy


  DMA10_STATUS

Bit 10
R
0x0

DMA Channel 10 Status
0: Idle
1: Busy


  DMA9_STATUS

Bit 9
R
0x0

DMA Channel 9 Status
0: Idle
1: Busy


  DMA8_STATUS

Bit 8
R
0x0

DMA Channel 8 Status
0: Idle
1: Busy


  DMA7_STATUS

Bit 7
R
0x0

DMA Channel 7 Status
0: Idle
1: Busy


  DMA6_STATUS

Bit 6
R
0x0

DMA Channel 6 Status
0: Idle
1: Busy


  DMA5_STATUS

Bit 5
R
0x0

DMA Channel 5 Status
0: Idle
1: Busy


  DMA4_STATUS

Bit 4
R
0x0

DMA Channel 4 Status
0: Idle
1: Busy


  DMA3_STATUS

Bit 3
R
0x0

DMA Channel 3 Status
0: Idle
1: Busy


  DMA2_STATUS

Bit 2
R
0x0

DMA Channel 2 Status
0: Idle
1: Busy


  DMA1_STATUS

Bit 1
R
0x0

DMA Channel 1 Status
0: Idle
1: Busy


  DMA0_STATUS

Bit 0
R
0x0

DMA Channel 0 Status
0: Idle
1: Busy



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

md 3002030 1



Bit fields structure

typedef union  dma_sta_reg
{
  struct
  {
   unsigned dma0_status : 1;
   unsigned dma1_status : 1;
   unsigned dma2_status : 1;
   unsigned dma3_status : 1;
   unsigned dma4_status : 1;
   unsigned dma5_status : 1;
   unsigned dma6_status : 1;
   unsigned dma7_status : 1;
   unsigned dma8_status : 1;
   unsigned dma9_status : 1;
   unsigned dma10_status : 1;
   unsigned dma11_status : 1;
   unsigned dma12_status : 1;
   unsigned dma13_status : 1;
   unsigned dma14_status : 1;
   unsigned dma15_status : 1;
   unsigned unused0 : 14;
   unsigned mbus_fifo_status : 1;
   unsigned unused1 : 1;
  } b;
   unsigned long w;
} DMA_STA_REG
   

Allwinner H616 Manual