Регистры Allwinner H616

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


DAMn_MIX_CTRL0
8.1.6. DAM MIX Control 0 - адрес: 0xa30509f001 (смещение: 0x0A30+n*0x0080(n=0,1))

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



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

  Unused

Bits 31 : 28

  TXCH1_MIX_RXCH2

Bits 27 : 24
R/W
0x1

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


  TXCH1_MIX_RXCH1

Bits 23 : 20
R/W
0x1

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


  TXCH1_MIX_RXCH0

Bits 19 : 16
R/W
0x1

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


  Unused

Bits 15 : 12

  TXCH0_MIX_RXCH2

Bits 11 : 8
R/W
0x0

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


  TXCH0_MIX_RXCH1

Bits 7 : 4
R/W
0x0

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


  TXCH0_MIX_RXCH0

Bits 3 : 0
R/W
0x0

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



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

md a30509f001 1



Bit fields structure

typedef union  damn_mix_ctrl0
{
  struct
  {
   unsigned txch0_mix_rxch0 : 4;
   unsigned txch0_mix_rxch1 : 4;
   unsigned txch0_mix_rxch2 : 4;
   unsigned unused0 : 4;
   unsigned txch1_mix_rxch0 : 4;
   unsigned txch1_mix_rxch1 : 4;
   unsigned txch1_mix_rxch2 : 4;
   unsigned unused1 : 4;
  } b;
   unsigned long w;
} DAMn_MIX_CTRL0
   

Allwinner H616 Manual