Регистры Allwinner H616

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


DAMn_MIX_CTRL2
8.1.6. DAM MIX Control 2 - адрес: 0xa38509f001 (смещение: 0x0A38+n*0x0080(n=0,1))

Аудио-концентратор: список регистров



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

  Unused

Bits 31 : 28

  TXCH5_MIX_RXCH2

Bits 27 : 24
R/W
0x5

RX2 Channel NUM to TXDIF Channel 5
N: TXDIF Channel 5 MIX RX2 Channel N


  TXCH5_MIX_RXCH1

Bits 23 : 20
R/W
0x5

RX1 Channel NUM to TXDIF Channel 5
N: TXDIF Channel 5 MIX RX1 Channel N


  TXCH5_MIX_RXCH0

Bits 19 : 16
R/W
0x5

RX0 Channel NUM to TXDIF Channel 5
N: TXDIF Channel 5 MIX RX0 Channel N


  Unused

Bits 15 : 12

  TXCH4_MIX_RXCH2

Bits 11 : 8
R/W
0x4

RX2 Channel NUM to TXDIF Channel 4
N: TXDIF Channel 4 MIX RX2 Channel N


  TXCH4_MIX_RXCH1

Bits 7 : 4
R/W
0x4

RX1 Channel NUM to TXDIF Channel 4
N: TXDIF Channel 2 MIX RX1 Channel N


  TXCH4_MIX_RXCH0

Bits 3 : 0
R/W
0x4

RX0 Channel NUM to TXDIF Channel 4
N: TXDIF Channel 4 MIX RX0 Channel N



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

md a38509f001 1



Bit fields structure

typedef union  damn_mix_ctrl2
{
  struct
  {
   unsigned txch4_mix_rxch0 : 4;
   unsigned txch4_mix_rxch1 : 4;
   unsigned txch4_mix_rxch2 : 4;
   unsigned unused0 : 4;
   unsigned txch5_mix_rxch0 : 4;
   unsigned txch5_mix_rxch1 : 4;
   unsigned txch5_mix_rxch2 : 4;
   unsigned unused1 : 4;
  } b;
   unsigned long w;
} DAMn_MIX_CTRL2
   

Allwinner H616 Manual