Регистры Allwinner H616

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


MIXER_REG
8.4.5. MIXER Analog Control Register - адрес: 0x5096314 (смещение: 0x0314)

Аудиокодек: список регистров



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

  Unused

Bits 31 : 24

  LMIXMUTE

Bits 23 : 20
R/W
0x0

Left Output Mixer Mute Control
0:Mute, 1:Not Mute
Bit 23: Reserved
Bit 22: Reserved
Bit 21: Left Channel DAC
Bit 20: Right Channel DAC


  RMIXMUTE

Bits 19 : 16
R/W
0x0

Right Output Mixer Mute Control
0:Mute, 1:Not Mute
Bit 19: Reserved
Bit 18: Reserved
Bit 17: Right Channel DAC
Bit 16: Left Channel DAC


  Unused

Bits 15 : 12

  LMIXEN

Bit 11
R/W
0x0

Left Analog Output Mixer Enable
0: Disable
1: Enable


  RMIXEN

Bit 10
R/W
0x0

Right Analog Output Mixer Enable
0: Disable
1: Enable


  IOPMIXS

Bits 9 : 8
R/W
0x1

OPMIX/OPLPF Bias Current Select
00: 6uA
01: 7uA
10: 8uA
11: 9uA


  Unused

Bit 7

  RESERV1

Bits 6 : 4
R/W
0x3

Reserved


  Unused

Bit 3

  RESERV2

Bits 2 : 0
R/W
0x3

Reserved



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

md 5096314 1



Bit fields structure

typedef union  mixer_reg
{
  struct
  {
   unsigned reserv2 : 3;
   unsigned unused0 : 1;
   unsigned reserv1 : 3;
   unsigned unused1 : 1;
   unsigned iopmixs : 2;
   unsigned rmixen : 1;
   unsigned lmixen : 1;
   unsigned unused2 : 4;
   unsigned rmixmute : 4;
   unsigned lmixmute : 4;
   unsigned unused3 : 8;
  } b;
   unsigned long w;
} MIXER_REG
   

Allwinner H616 Manual