Регистры Allwinner H616

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


I2Sn_SDINCHMAP2
8.1.6. I2Sn SDIN Channel Mapping 2 - адрес: 0x27450a7003 (смещение: 0x0274+n*0x0100(n=0~3))

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



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

  Unused

Bits 31 : 30

  RXFIFO_SAMPLE11_SELECT

Bits 29 : 28
R/W
0x0

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


  RXFIFO_SAMPLE11_MAP

Bits 27 : 24
R/W
0xB

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


  Unused

Bits 23 : 22

  RXFIFO_SAMPLE10_SELECT

Bits 21 : 20
R/W
0x0

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


  RXFIFO_SAMPLE10_MAP

Bits 19 : 16
R/W
0xA

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


  Unused

Bits 15 : 14

  RXFIFO_SAMPLE9_SELECT

Bits 13 : 12
R/W
0x0

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


  RXFIFO_SAMPLE9_MAP

Bits 11 : 8
R/W
0x9

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


  Unused

Bits 7 : 6

  RXFIFO_SAMPLE8_SELECT

Bits 5 : 4
R/W
0x0

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


  RXFIFO_SAMPLE8_MAP

Bits 3 : 0
R/W
0x8

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



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

md 27450a7003 1



Bit fields structure

typedef union  i2sn_sdinchmap2
{
  struct
  {
   unsigned rxfifo_sample8_map : 4;
   unsigned rxfifo_sample8_select : 2;
   unsigned unused0 : 2;
   unsigned rxfifo_sample9_map : 4;
   unsigned rxfifo_sample9_select : 2;
   unsigned unused1 : 2;
   unsigned rxfifo_sample10_map : 4;
   unsigned rxfifo_sample10_select : 2;
   unsigned unused2 : 2;
   unsigned rxfifo_sample11_map : 4;
   unsigned rxfifo_sample11_select : 2;
   unsigned unused3 : 2;
  } b;
   unsigned long w;
} I2Sn_SDINCHMAP2
   

Allwinner H616 Manual