Регистры Allwinner H616

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


I2Sn_SDOUTmCHMAP0
8.1.6. I2Sn SDOUTm Channel Mapping 0 - адрес: 0x0 (смещение: 0x0234+n*0x0100+m*0x0010 (n=0~3)(m=0~3))

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



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

  SDOUTM_SLOT7_MAP

Bits 31 : 28
R/W
0x7

SDOUT Slot7 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT6_MAP

Bits 27 : 24
R/W
0x6

SDOUT Slot6 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT5_MAP

Bits 23 : 20
R/W
0x5

SDOUT Slot5 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT4_MAP

Bits 19 : 16
R/W
0x4

SDOUT Slot4 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT3_MAP

Bits 15 : 12
R/W
0x3

SDOUT Slot3 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT2_MAP

Bits 11 : 8
R/W
0x2

SDOUT Slot2 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT1_MAP

Bits 7 : 4
R/W
0x1

SDOUT Slot1 Mapping
0000: 1st channel data
***
1111: 16th channel data


  SDOUTM_SLOT0_MAP

Bits 3 : 0
R/W
0x0

SDOUT Slot0 Mapping
0000: 1st channel data
***
1111: 16th channel data



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

md 0 1



Bit fields structure

typedef union  i2sn_sdoutmchmap0
{
  struct
  {
   unsigned sdoutm_slot0_map : 4;
   unsigned sdoutm_slot1_map : 4;
   unsigned sdoutm_slot2_map : 4;
   unsigned sdoutm_slot3_map : 4;
   unsigned sdoutm_slot4_map : 4;
   unsigned sdoutm_slot5_map : 4;
   unsigned sdoutm_slot6_map : 4;
   unsigned sdoutm_slot7_map : 4;
  } b;
   unsigned long w;
} I2Sn_SDOUTmCHMAP0
   

Allwinner H616 Manual