Регистры Allwinner H616

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


DAMn_CTRL
8.1.6. DAM Control - адрес: 0xa00509f001 (смещение: 0x0A00+n*0x0080(n=0,1))

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



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

  Unused

Bits 31 : 28

  RX2_NUM

Bits 27 : 24
R/W
0x0

RX2 Channel Num


  RX1_NUM

Bits 23 : 20
R/W
0x0

RX1 Channel Num


  RX0_NUM

Bits 19 : 16
R/W
0x0

RX0 Channel Num


  Unused

Bits 15 : 12

  TX_CHANNEL_NUM

Bits 11 : 8
R/W
0x0


  Unused

Bit 7

  RX2EN

Bit 6
R/W
0x0

Receiver Enable
0: Disable
1: Enable


  RX1EN

Bit 5
R/W
0x0

Receiver Enable
0: Disable
1: Enable


  RX0EN

Bit 4
R/W
0x0

Receiver Enable
0: Disable
1: Enable


  Unused

Bits 3 : 1

  TXEN

Bit 0
R/W
0x0

Transmitter Enable
0: Disable
1: Enable



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

md a00509f001 1



Bit fields structure

typedef union  damn_ctrl
{
  struct
  {
   unsigned txen : 1;
   unsigned unused0 : 3;
   unsigned rx0en : 1;
   unsigned rx1en : 1;
   unsigned rx2en : 1;
   unsigned unused1 : 1;
   unsigned tx_channel_num : 4;
   unsigned unused2 : 4;
   unsigned rx0_num : 4;
   unsigned rx1_num : 4;
   unsigned rx2_num : 4;
   unsigned unused3 : 4;
  } b;
   unsigned long w;
} DAMn_CTRL
   

Allwinner H616 Manual