Регистры Allwinner H616

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


DMA_SEC_REG
3.9.5. DMA Security Register - адрес: 0x3002020 (смещение: 0x0020)

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



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

  Unused

Bits 31 : 16

  DMA15_SEC

Bit 15
R/W
0x0

DMA channel 15 security
0: Secure
1: Non-secure


  DMA14_SEC

Bit 14
R/W
0x0

DMA channel 14 security
0: Secure
1: Non-secure


  DMA13_SEC

Bit 13
R/W
0x0

DMA channel 13 security
0: Secure
1: Non-secure


  DMA12_SEC

Bit 12
R/W
0x0

DMA channel 12 security
0: Secure
1: Non-secure


  DMA11_SEC

Bit 11
R/W
0x0

DMA channel 11 security
0: Secure
1: Non-secure


  DMA10_SEC

Bit 10
R/W
0x0

DMA channel 10 security
0: Secure
1: Non-secure


  DMA9_SEC

Bit 9
R/W
0x0

DMA channel 9 security
0: Secure
1: Non-secure


  DMA8_SEC

Bit 8
R/W
0x0

DMA channel 8 security
0: Secure
1: Non-secure


  DMA7_SEC

Bit 7
R/W
0x0

DMA channel 7 security
0: Secure
1: Non-secure


  DMA6_SEC

Bit 6
R/W
0x0

DMA channel 6 security
0: Secure
1: Non-secure


  DMA5_SEC

Bit 5
R/W
0x0

DMA channel 5 security
0: Secure
1: Non-secure


  DMA4_SEC

Bit 4
R/W
0x0

DMA channel 4 security
0: Secure
1: Non-secure


  DMA3_SEC

Bit 3
R/W
0x0

DMA channel 3 security
0: Secure
1: Non-secure


  DMA2_SEC

Bit 2
R/W
0x0

DMA channel 2 security
0: Secure
1: Non-secure


  DMA1_SEC

Bit 1
R/W
0x0

DMA channel 1 security
0: Secure
1: Non-secure


  DMA0_SEC

Bit 0
R/W
0x0

DMA channel 0 security
0: Secure
1: Non-secure



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

md 3002020 1



Bit fields structure

typedef union  dma_sec_reg
{
  struct
  {
   unsigned dma0_sec : 1;
   unsigned dma1_sec : 1;
   unsigned dma2_sec : 1;
   unsigned dma3_sec : 1;
   unsigned dma4_sec : 1;
   unsigned dma5_sec : 1;
   unsigned dma6_sec : 1;
   unsigned dma7_sec : 1;
   unsigned dma8_sec : 1;
   unsigned dma9_sec : 1;
   unsigned dma10_sec : 1;
   unsigned dma11_sec : 1;
   unsigned dma12_sec : 1;
   unsigned dma13_sec : 1;
   unsigned dma14_sec : 1;
   unsigned dma15_sec : 1;
   unsigned unused0 : 16;
  } b;
   unsigned long w;
} DMA_SEC_REG
   

Allwinner H616 Manual