Регистры Allwinner H616

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


I2Sn_SDINCHMAP1
8.1.6. I2Sn SDIN Channel Mapping 1 - адрес: 0x27850a7003 (смещение: 0x0278+n*0x0100(n=0~3))

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



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

  Unused

Bits 31 : 30

  RXFIFO_SAMPLE7_SELECT

Bits 29 : 28
R/W
0x0

00: SDI0
01: SDI1
10: SDI2
11: SDI3


  RXFIFO_SAMPLE7_MAP

Bits 27 : 24
R/W
0x7

RXFIFO Sample7 Mapping
0: 1st channel data
***
15: 16th channel data


  Unused

Bits 23 : 22

  RXFIFO_SAMPLE6_SELECT

Bits 21 : 20
R/W
0x0

00: SDI0
01: SDI1
10: SDI2
11: SDI3


  RXFIFO_SAMPLE6_MAP

Bits 19 : 16
R/W
0x6

RXFIFO Sample6 Mapping
0: 1st channel data
***
15: 16th channel data


  Unused

Bits 15 : 14

  RXFIFO_SAMPLE5_SELECT

Bits 13 : 12
R/W
0x0

00: SDI0
01: SDI1
10: SDI2
11: SDI3


  RXFIFO_SAMPLE5_MAP

Bits 11 : 8
R/W
0x5

RXFIFO Sample5 Mapping
0: 1st channel data
***
15: 16th channel data


  Unused

Bits 7 : 6

  RXFIFO_SAMPLE4_SELECT

Bits 5 : 4
R/W
0x0

00: SDI0
01: SDI1
10: SDI2
11: SDI3


  RXFIFO_SAMPLE4_MAP

Bits 3 : 0
R/W
0x4

RXFIFO Sample4 Mapping
0: 1st channel data
***
15: 16th channel data



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

md 27850a7003 1



Bit fields structure

typedef union  i2sn_sdinchmap1
{
  struct
  {
   unsigned rxfifo_sample4_map : 4;
   unsigned rxfifo_sample4_select : 2;
   unsigned unused0 : 2;
   unsigned rxfifo_sample5_map : 4;
   unsigned rxfifo_sample5_select : 2;
   unsigned unused1 : 2;
   unsigned rxfifo_sample6_map : 4;
   unsigned rxfifo_sample6_select : 2;
   unsigned unused2 : 2;
   unsigned rxfifo_sample7_map : 4;
   unsigned rxfifo_sample7_select : 2;
   unsigned unused3 : 2;
  } b;
   unsigned long w;
} I2Sn_SDINCHMAP1
   

Allwinner H616 Manual