Регистры Allwinner H616

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


RAMP_REG
8.4.5. RAMP Control Re - адрес: 0x509631c (смещение: 0x031C)

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



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 509631c 1



Bit fields structure

typedef union  ramp_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;
} RAMP_REG
   

Allwinner H616 Manual