Регистры Allwinner H616

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


DAMn_MIX_CTRL7
8.1.6. DAM MIX Control 7 - адрес: 0xa4c509f001 (смещение: 0x0A4C+n*0x0080(n=0,1))

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



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

  Unused

Bits 31 : 28

  TXCHF_MIX_RXCH2

Bits 27 : 24
R/W
0xF

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


  TXCHF_MIX_RXCH1

Bits 23 : 20
R/W
0xF

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


  TXCHF_MIX_RXCH0

Bits 19 : 16
R/W
0xF

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


  Unused

Bits 15 : 12

  TXCHE_MIX_RXCH2

Bits 11 : 8
R/W
0xE

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


  TXCHE_MIX_RXCH1

Bits 7 : 4
R/W
0xE

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


  TXCHE_MIX_RXCH0

Bits 3 : 0
R/W
0xE

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



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

md a4c509f001 1



Bit fields structure

typedef union  damn_mix_ctrl7
{
  struct
  {
   unsigned txche_mix_rxch0 : 4;
   unsigned txche_mix_rxch1 : 4;
   unsigned txche_mix_rxch2 : 4;
   unsigned unused0 : 4;
   unsigned txchf_mix_rxch0 : 4;
   unsigned txchf_mix_rxch1 : 4;
   unsigned txchf_mix_rxch2 : 4;
   unsigned unused1 : 4;
  } b;
   unsigned long w;
} DAMn_MIX_CTRL7
   

Allwinner H616 Manual