Регистры Allwinner H616

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

Аудиокодек ( Руководство )

Имя модуля: Audio Codec , базовый адрес: 0x05096000

Руководство п. 8.4.5


Регистров: 56

Имя регистра | Смещение


  • 1) AC_DAC_DPC | 0x0000

    typedef union  ac_dac_dpc
    {
      struct
      {
       unsigned hub_en : 1;
       unsigned unused0 : 11;
       unsigned dvol : 6;
       unsigned hpf_en : 1;
       unsigned unused1 : 5;
       unsigned dwa : 1;
       unsigned modqu : 4;
       unsigned unused2 : 2;
       unsigned en_da : 1;
      } b;
       unsigned long w;
    } AC_DAC_DPC
       

  • 2) AC_DAC_FIFOC | 0x0010

    typedef union  ac_dac_fifoc
    {
      struct
      {
       unsigned fifo_flush : 1;
       unsigned fifo_overrun_irq_en : 1;
       unsigned fifo_underrun_irq_en : 1;
       unsigned dac_irq_en : 1;
       unsigned dac_drq_en : 1;
       unsigned tx_sample_bits : 1;
       unsigned dac_mono_en : 1;
       unsigned unused0 : 1;
       unsigned tx_trig_level : 7;
       unsigned unused1 : 6;
       unsigned dac_drq_clr_cnt : 2;
       unsigned unused2 : 1;
       unsigned fifo_mode : 2;
       unsigned send_lasat : 1;
       unsigned unused3 : 1;
       unsigned fir_ver : 1;
       unsigned dac_fs : 3;
      } b;
       unsigned long w;
    } AC_DAC_FIFOC
       

  • 3) AC_DAC_FIFOS | 0x0014

    typedef union  ac_dac_fifos
    {
      struct
      {
       unsigned unused0 : 1;
       unsigned txo_int : 1;
       unsigned txu_int : 1;
       unsigned txe_int : 1;
       unsigned unused1 : 4;
       unsigned txe_cnt : 15;
       unsigned tx_empty : 1;
       unsigned unused2 : 8;
      } b;
       unsigned long w;
    } AC_DAC_FIFOS
       

  • 4) AC_DAC_TXDATA | 0x0020

    typedef union  ac_dac_txdata
    {
      struct
      {
       unsigned tx_data : 32;
      } b;
       unsigned long w;
    } AC_DAC_TXDATA
       

  • 5) AC_DAC_CNT | 0x0024

    typedef union  ac_dac_cnt
    {
      struct
      {
       unsigned tx_cnt : 32;
      } b;
       unsigned long w;
    } AC_DAC_CNT
       

  • 6) AC_DAC_DG | 0x0028

    typedef union  ac_dac_dg
    {
      struct
      {
       unsigned adda_loop_mode : 2;
       unsigned unused0 : 4;
       unsigned da_swp : 1;
       unsigned unused1 : 1;
       unsigned codec_clk_select : 1;
       unsigned dac_pattern_select : 2;
       unsigned dac_modu_select : 1;
       unsigned unused2 : 20;
      } b;
       unsigned long w;
    } AC_DAC_DG
       

  • 7) AC_DAC_DAP_CTRL | 0x00F0

    typedef union  ac_dac_dap_ctrl
    {
      struct
      {
       unsigned unused0 : 28;
       unsigned ddap_hpf_en : 1;
       unsigned ddap_drc_en : 1;
       unsigned unused1 : 1;
       unsigned ddap_en : 1;
      } b;
       unsigned long w;
    } AC_DAC_DAP_CTRL
       

  • 8) AC_DAC_DRC_HHPFC | 0x0100

    typedef union  ac_dac_drc_hhpfc
    {
      struct
      {
       unsigned hpf_coef_setting : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HHPFC
       

  • 9) AC_DAC_DRC_LHPFC | 0x0104

    typedef union  ac_dac_drc_lhpfc
    {
      struct
      {
       unsigned hpf_coef_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LHPFC
       

  • 10) AC_DAC_DRC_CTRL | 0x0108

    typedef union  ac_dac_drc_ctrl
    {
      struct
      {
       unsigned drc_et_enable : 1;
       unsigned drc_lt_enable : 1;
       unsigned del_funct_enable : 1;
       unsigned sign_funct_select : 1;
       unsigned ctrl_drc_detect_noise : 1;
       unsigned drc_gain_min_lim : 1;
       unsigned drc_gain_max_lim : 1;
       unsigned delay_buffer_use : 1;
       unsigned signal_delay_time_set : 6;
       unsigned unused0 : 1;
       unsigned drc_delay_buffer : 1;
       unsigned unused1 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_CTRL
       

  • 11) AC_DAC_DRC_LPFHAT | 0x010C

    typedef union  ac_dac_drc_lpfhat
    {
      struct
      {
       unsigned left_peak_filter_attack : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LPFHAT
       

  • 12) AC_DAC_DRC_LPFLAT | 0x0110

    typedef union  ac_dac_drc_lpflat
    {
      struct
      {
       unsigned left_peak_filter_attack : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LPFLAT
       

  • 13) AC_DAC_DRC_LPFLAT_ | 0x0118

    typedef union  ac_dac_drc_lpflat_
    {
      struct
      {
       unsigned left_peak_filter_attack : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LPFLAT_
       

  • 14) AC_DAC_DRC_LPFHRT | 0x011C

    typedef union  ac_dac_drc_lpfhrt
    {
      struct
      {
       unsigned left_peak_filter_attack : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LPFHRT
       

  • 15) AC_DAC_DRC_LPFLRT | 0x0120

    typedef union  ac_dac_drc_lpflrt
    {
      struct
      {
       unsigned left_peak_filter_attack : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LPFLRT
       

  • 16) AC_DAC_DRC_RPFHRT | 0x0124

    typedef union  ac_dac_drc_rpfhrt
    {
      struct
      {
       unsigned left_peak_filter_attack : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_RPFHRT
       

  • 17) AC_DAC_DRC_RPFLRT | 0x0128

    typedef union  ac_dac_drc_rpflrt
    {
      struct
      {
       unsigned left_peak_filter_release : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_RPFLRT
       

  • 18) AC_DAC_DRC_LRMSHAT | 0x012C

    typedef union  ac_dac_drc_lrmshat
    {
      struct
      {
       unsigned left_rms_filter_average : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LRMSHAT
       

  • 19) AC_DAC_DRC_LRMSLAT | 0x0130

    typedef union  ac_dac_drc_lrmslat
    {
      struct
      {
       unsigned left_rms_filter : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LRMSLAT
       

  • 20) AC_DAC_DRC_RRMSHAT | 0x0134

    typedef union  ac_dac_drc_rrmshat
    {
      struct
      {
       unsigned right_rms_filter : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_RRMSHAT
       

  • 21) AC_DAC_DRC_RRMSLAT | 0x0138

    typedef union  ac_dac_drc_rrmslat
    {
      struct
      {
       unsigned ight_rms_filter_average : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_RRMSLAT
       

  • 22) AC_DAC_DRC_HCT | 0x013C

    typedef union  ac_dac_drc_hct
    {
      struct
      {
       unsigned compressor_threshold_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HCT
       

  • 23) AC_DAC_DRC_LCT | 0x0140

    typedef union  ac_dac_drc_lct
    {
      struct
      {
       unsigned compressor_hreshold_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LCT
       

  • 24) AC_DAC_DRC_HKC | 0x0144

    typedef union  ac_dac_drc_hkc
    {
      struct
      {
       unsigned slope_compressor : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HKC
       

  • 25) AC_DAC_DRC_LKC | 0x0148

    typedef union  ac_dac_drc_lkc
    {
      struct
      {
       unsigned slope_compressor : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LKC
       

  • 26) AC_DAC_DRC_HOPC | 0x014C

    typedef union  ac_dac_drc_hopc
    {
      struct
      {
       unsigned output_compressor : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HOPC
       

  • 27) AC_DAC_DRC_LOPC | 0x0150

    typedef union  ac_dac_drc_lopc
    {
      struct
      {
       unsigned output_compressor : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LOPC
       

  • 28) AC_DAC_DRC_HLT | 0x0154

    typedef union  ac_dac_drc_hlt
    {
      struct
      {
       unsigned lim_threshold_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HLT
       

  • 29) AC_DAC_DRC_LLT | 0x0158

    typedef union  ac_dac_drc_llt
    {
      struct
      {
       unsigned lim_threshold_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LLT
       

  • 30) AC_DAC_DRC_HKl | 0x015C

    typedef union  ac_dac_drc_hkl
    {
      struct
      {
       unsigned slope_lim : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HKl
       

  • 31) AC_DAC_DRC_LKl | 0x0160

    typedef union  ac_dac_drc_lkl
    {
      struct
      {
       unsigned slope_lim : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LKl
       

  • 32) AC_DAC_DRC_HOPL | 0x0164

    typedef union  ac_dac_drc_hopl
    {
      struct
      {
       unsigned output_lim : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HOPL
       

  • 33) AC_DAC_DRC_LOPL | 0x0168

    typedef union  ac_dac_drc_lopl
    {
      struct
      {
       unsigned output_lim : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LOPL
       

  • 34) AC_DAC_DRC_HET | 0x016C

    typedef union  ac_dac_drc_het
    {
      struct
      {
       unsigned expander_threshold_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HET
       

  • 35) AC_DAC_DRC_LET | 0x0170

    typedef union  ac_dac_drc_let
    {
      struct
      {
       unsigned expander_threshold_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LET
       

  • 36) AC_DAC_DRC_HKE | 0x0174

    typedef union  ac_dac_drc_hke
    {
      struct
      {
       unsigned slope_expander : 14;
       unsigned unused0 : 18;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HKE
       

  • 37) AC_DAC_DRC_LKE | 0x0178

    typedef union  ac_dac_drc_lke
    {
      struct
      {
       unsigned slope_expander : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LKE
       

  • 38) AC_DAC_DRC_HOPE | 0x017C

    typedef union  ac_dac_drc_hope
    {
      struct
      {
       unsigned output_expander : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HOPE
       

  • 39) AC_DAC_DRC_LOPE | 0x0180

    typedef union  ac_dac_drc_lope
    {
      struct
      {
       unsigned output_expander : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LOPE
       

  • 40) AC_DAC_DRC_HKN | 0x0184

    typedef union  ac_dac_drc_hkn
    {
      struct
      {
       unsigned slope_linear : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HKN
       

  • 41) AC_DAC_DRC_LKN | 0x0188

    typedef union  ac_dac_drc_lkn
    {
      struct
      {
       unsigned slope_linear : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_LKN
       

  • 42) AC_DAC_DRC_SFHAT | 0x018C

    typedef union  ac_dac_drc_sfhat
    {
      struct
      {
       unsigned smooth_filter_attack : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_SFHAT
       

  • 43) AC_DAC_DRC_SFLAT | 0x0190

    typedef union  ac_dac_drc_sflat
    {
      struct
      {
       unsigned smooth_filter_attack : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_SFLAT
       

  • 44) AC_DAC_DRC_SFHRT | 0x0194

    typedef union  ac_dac_drc_sfhrt
    {
      struct
      {
       unsigned gain_smooth_filter : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_SFHRT
       

  • 45) AC_DAC_DRC_SFLRT | 0x0198

    typedef union  ac_dac_drc_sflrt
    {
      struct
      {
       unsigned gain_smooth_filter : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_SFLRT
       

  • 46) AC_DAC_DRC_MXGHS | 0x019C

    typedef union  ac_dac_drc_mxghs
    {
      struct
      {
       unsigned max_gain_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_MXGHS
       

  • 47) AC_DAC_DRC_MXGLS | 0x01A0

    typedef union  ac_dac_drc_mxgls
    {
      struct
      {
       unsigned max_gain_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_MXGLS
       

  • 48) AC_DAC_DRC_MNGHS | 0x01A4

    typedef union  ac_dac_drc_mnghs
    {
      struct
      {
       unsigned min_gain_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_MNGHS
       

  • 49) AC_DAC_DRC_MNGLS | 0x01A8

    typedef union  ac_dac_drc_mngls
    {
      struct
      {
       unsigned min_gain_set : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_MNGLS
       

  • 50) AC_DAC_DRC_EPSHC | 0x01AC

    typedef union  ac_dac_drc_epshc
    {
      struct
      {
       unsigned gain_smooth_filter : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_EPSHC
       

  • 51) AC_DAC_DRC_EPSLC | 0x01B0

    typedef union  ac_dac_drc_epslc
    {
      struct
      {
       unsigned gain_smooth_filter : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_EPSLC
       

  • 52) AC_DAC_DRC_HPFHGAIN | 0x01B8

    typedef union  ac_dac_drc_hpfhgain
    {
      struct
      {
       unsigned gain_hpf_coef : 11;
       unsigned unused0 : 21;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HPFHGAIN
       

  • 53) AC_DAC_DRC_HPFLGAIN | 0x01BC

    typedef union  ac_dac_drc_hpflgain
    {
      struct
      {
       unsigned gain_hpf_coef : 16;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } AC_DAC_DRC_HPFLGAIN
       

  • 54) DAC_REG | 0x0310

    typedef union  dac_reg
    {
      struct
      {
       unsigned lineout_vol_cntrl : 5;
       unsigned right_lienout_source : 1;
       unsigned left_lienout_source : 1;
       unsigned unused0 : 1;
       unsigned rampen : 1;
       unsigned rswitch : 1;
       unsigned rmute : 1;
       unsigned lineoutren : 1;
       unsigned lmute : 1;
       unsigned lineoutlen : 1;
       unsigned dacren : 1;
       unsigned daclen : 1;
       unsigned iopdacs : 2;
       unsigned ilineoutamps : 2;
       unsigned iopvrs : 2;
       unsigned unused1 : 1;
       unsigned current_test_select : 1;
       unsigned unused2 : 8;
      } b;
       unsigned long w;
    } DAC_REG
       

  • 55) MIXER_REG | 0x0314

    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
       

  • 56) RAMP_REG | 0x031C

    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