Struct d1_pac::audio_codec::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 120 fields
pub ac_dac_dpc: AC_DAC_DPC,
pub dac_vol_ctrl: DAC_VOL_CTRL,
pub ac_dac_fifoc: AC_DAC_FIFOC,
pub ac_dac_fifos: AC_DAC_FIFOS,
pub ac_dac_txdata: AC_DAC_TXDATA,
pub ac_dac_cnt: AC_DAC_CNT,
pub ac_dac_dg: AC_DAC_DG,
pub ac_adc_fifoc: AC_ADC_FIFOC,
pub adc_vol_ctrl1: ADC_VOL_CTRL1,
pub ac_adc_fifos: AC_ADC_FIFOS,
pub ac_adc_rxdata: AC_ADC_RXDATA,
pub ac_adc_cnt: AC_ADC_CNT,
pub ac_adc_dg: AC_ADC_DG,
pub adc_dig_ctrl: ADC_DIG_CTRL,
pub vra1speedup_ctrl: VRA1SPEEDUP_CTRL,
pub ac_dac_dap_ctr: AC_DAC_DAP_CTR,
pub ac_adc_dap_ctr: AC_ADC_DAP_CTR,
pub ac_dac_drc_hhpfc: AC_DAC_DRC_HHPFC,
pub ac_dac_drc_lhpfc: AC_DAC_DRC_LHPFC,
pub ac_dac_drc_ctrl: AC_DAC_DRC_CTRL,
pub ac_dac_drc_lpfhat: AC_DAC_DRC_LPFHAT,
pub ac_dac_drc_lpflat: AC_DAC_DRC_LPFLAT,
pub ac_dac_drc_rpfhat: AC_DAC_DRC_RPFHAT,
pub ac_dac_drc_rpflat: AC_DAC_DRC_RPFLAT,
pub ac_dac_drc_lpfhrt: AC_DAC_DRC_LPFHRT,
pub ac_dac_drc_lpflrt: AC_DAC_DRC_LPFLRT,
pub ac_dac_drc_rpfhrt: AC_DAC_DRC_RPFHRT,
pub ac_dac_drc_rpflrt: AC_DAC_DRC_RPFLRT,
pub ac_dac_drc_lrmshat: AC_DAC_DRC_LRMSHAT,
pub ac_dac_drc_lrmslat: AC_DAC_DRC_LRMSLAT,
pub ac_dac_drc_rrmshat: AC_DAC_DRC_RRMSHAT,
pub ac_dac_drc_rrmslat: AC_DAC_DRC_RRMSLAT,
pub ac_dac_drc_hct: AC_DAC_DRC_HCT,
pub ac_dac_drc_lct: AC_DAC_DRC_LCT,
pub ac_dac_drc_hkc: AC_DAC_DRC_HKC,
pub ac_dac_drc_lkc: AC_DAC_DRC_LKC,
pub ac_dac_drc_hopc: AC_DAC_DRC_HOPC,
pub ac_dac_drc_lopc: AC_DAC_DRC_LOPC,
pub ac_dac_drc_hlt: AC_DAC_DRC_HLT,
pub ac_dac_drc_llt: AC_DAC_DRC_LLT,
pub ac_dac_drc_hkl: AC_DAC_DRC_HKL,
pub ac_dac_drc_lkl: AC_DAC_DRC_LKL,
pub ac_dac_drc_hopl: AC_DAC_DRC_HOPL,
pub ac_dac_drc_lopl: AC_DAC_DRC_LOPL,
pub ac_dac_drc_het: AC_DAC_DRC_HET,
pub ac_dac_drc_let: AC_DAC_DRC_LET,
pub ac_dac_drc_hke: AC_DAC_DRC_HKE,
pub ac_dac_drc_lke: AC_DAC_DRC_LKE,
pub ac_dac_drc_hope: AC_DAC_DRC_HOPE,
pub ac_dac_drc_lope: AC_DAC_DRC_LOPE,
pub ac_dac_drc_hkn: AC_DAC_DRC_HKN,
pub ac_dac_drc_lkn: AC_DAC_DRC_LKN,
pub ac_dac_drc_sfhat: AC_DAC_DRC_SFHAT,
pub ac_dac_drc_sflat: AC_DAC_DRC_SFLAT,
pub ac_dac_drc_sfhrt: AC_DAC_DRC_SFHRT,
pub ac_dac_drc_sflrt: AC_DAC_DRC_SFLRT,
pub ac_dac_drc_mxghs: AC_DAC_DRC_MXGHS,
pub ac_dac_drc_mxgls: AC_DAC_DRC_MXGLS,
pub ac_dac_drc_mnghs: AC_DAC_DRC_MNGHS,
pub ac_dac_drc_mngls: AC_DAC_DRC_MNGLS,
pub ac_dac_drc_epshc: AC_DAC_DRC_EPSHC,
pub ac_dac_drc_epslc: AC_DAC_DRC_EPSLC,
pub ac_dac_drc_hpfhgain: AC_DAC_DRC_HPFHGAIN,
pub ac_dac_drc_hpflgain: AC_DAC_DRC_HPFLGAIN,
pub ac_adc_drc_hhpfc: AC_ADC_DRC_HHPFC,
pub ac_adc_drc_lhpfc: AC_ADC_DRC_LHPFC,
pub ac_adc_drc_ctrl: AC_ADC_DRC_CTRL,
pub ac_adc_drc_lpfhat: AC_ADC_DRC_LPFHAT,
pub ac_adc_drc_lpflat: AC_ADC_DRC_LPFLAT,
pub ac_adc_drc_rpfhat: AC_ADC_DRC_RPFHAT,
pub ac_adc_drc_rpflat: AC_ADC_DRC_RPFLAT,
pub ac_adc_drc_lpfhrt: AC_ADC_DRC_LPFHRT,
pub ac_adc_drc_lpflrt: AC_ADC_DRC_LPFLRT,
pub ac_adc_drc_rpfhrt: AC_ADC_DRC_RPFHRT,
pub ac_adc_drc_rpflrt: AC_ADC_DRC_RPFLRT,
pub ac_adc_drc_lrmshat: AC_ADC_DRC_LRMSHAT,
pub ac_adc_drc_lrmslat: AC_ADC_DRC_LRMSLAT,
pub ac_adc_drc_rrmshat: AC_ADC_DRC_RRMSHAT,
pub ac_adc_drc_rrmslat: AC_ADC_DRC_RRMSLAT,
pub ac_adc_drc_hct: AC_ADC_DRC_HCT,
pub ac_adc_drc_lct: AC_ADC_DRC_LCT,
pub ac_adc_drc_hkc: AC_ADC_DRC_HKC,
pub ac_adc_drc_lkc: AC_ADC_DRC_LKC,
pub ac_adc_drc_hopc: AC_ADC_DRC_HOPC,
pub ac_adc_drc_lopc: AC_ADC_DRC_LOPC,
pub ac_adc_drc_hlt: AC_ADC_DRC_HLT,
pub ac_adc_drc_llt: AC_ADC_DRC_LLT,
pub ac_adc_drc_hkl: AC_ADC_DRC_HKL,
pub ac_adc_drc_lkl: AC_ADC_DRC_LKL,
pub ac_adc_drc_hopl: AC_ADC_DRC_HOPL,
pub ac_adc_drc_lopl: AC_ADC_DRC_LOPL,
pub ac_adc_drc_het: AC_ADC_DRC_HET,
pub ac_adc_drc_let: AC_ADC_DRC_LET,
pub ac_adc_drc_hke: AC_ADC_DRC_HKE,
pub ac_adc_drc_lke: AC_ADC_DRC_LKE,
pub ac_adc_drc_hope: AC_ADC_DRC_HOPE,
pub ac_adc_drc_lope: AC_ADC_DRC_LOPE,
pub ac_adc_drc_hkn: AC_ADC_DRC_HKN,
pub ac_adc_drc_lkn: AC_ADC_DRC_LKN,
pub ac_adc_drc_sfhat: AC_ADC_DRC_SFHAT,
pub ac_adc_drc_sflat: AC_ADC_DRC_SFLAT,
pub ac_adc_drc_sfhrt: AC_ADC_DRC_SFHRT,
pub ac_adc_drc_sflrt: AC_ADC_DRC_SFLRT,
pub ac_adc_drc_mxghs: AC_ADC_DRC_MXGHS,
pub ac_adc_drc_mxgls: AC_ADC_DRC_MXGLS,
pub ac_adc_drc_mnghs: AC_ADC_DRC_MNGHS,
pub ac_adc_drc_mngls: AC_ADC_DRC_MNGLS,
pub ac_adc_drc_epshc: AC_ADC_DRC_EPSHC,
pub ac_adc_drc_epslc: AC_ADC_DRC_EPSLC,
pub ac_adc_drc_hpfhgain: AC_ADC_DRC_HPFHGAIN,
pub ac_adc_drc_hpflgain: AC_ADC_DRC_HPFLGAIN,
pub adc: [ADC; 3],
pub dac: DAC,
pub micbias: MICBIAS,
pub ramp: RAMP,
pub bias: BIAS,
pub hmic_ctrl: HMIC_CTRL,
pub hmic_sts: HMIC_STS,
pub hp2: HP2,
pub power: POWER,
/* private fields */
}
Expand description
Register block
Fields§
§ac_dac_dpc: AC_DAC_DPC
0x00 - DAC Digital Part Control Register
dac_vol_ctrl: DAC_VOL_CTRL
0x04 - DAC Volume Control Register
ac_dac_fifoc: AC_DAC_FIFOC
0x10 - DAC FIFO Control Register
ac_dac_fifos: AC_DAC_FIFOS
0x14 - DAC FIFO Status Register
ac_dac_txdata: AC_DAC_TXDATA
0x20 - DAC TX DATA Register
ac_dac_cnt: AC_DAC_CNT
0x24 - DAC TX FIFO Counter Register
ac_dac_dg: AC_DAC_DG
0x28 - DAC Debug Register
ac_adc_fifoc: AC_ADC_FIFOC
0x30 - ADC FIFO Control Register
adc_vol_ctrl1: ADC_VOL_CTRL1
0x34 - ADC Volume Control1 Register
ac_adc_fifos: AC_ADC_FIFOS
0x38 - ADC FIFO Status Register
ac_adc_rxdata: AC_ADC_RXDATA
0x40 - ADC RX Data Register
ac_adc_cnt: AC_ADC_CNT
0x44 - ADC RX Counter Register
ac_adc_dg: AC_ADC_DG
0x4c - ADC Debug Register
adc_dig_ctrl: ADC_DIG_CTRL
0x50 - ADC Digtial Control Register
vra1speedup_ctrl: VRA1SPEEDUP_CTRL
0x54 - VRA1 Speedup Down Control Register
ac_dac_dap_ctr: AC_DAC_DAP_CTR
0xf0 - DAC DAP Control Register
ac_adc_dap_ctr: AC_ADC_DAP_CTR
0xf8 - ADC DAP Control Register
ac_dac_drc_hhpfc: AC_DAC_DRC_HHPFC
0x100 - DAC DRC High HPF Coef Register
ac_dac_drc_lhpfc: AC_DAC_DRC_LHPFC
0x104 - DAC DRC Low HPF Coef Register
ac_dac_drc_ctrl: AC_DAC_DRC_CTRL
0x108 - DAC DRC Control Register
ac_dac_drc_lpfhat: AC_DAC_DRC_LPFHAT
0x10c - DAC DRC Left Peak Filter High Attack Time Coef Register
ac_dac_drc_lpflat: AC_DAC_DRC_LPFLAT
0x110 - DAC DRC Left Peak Filter Low Attack Time Coef Register
ac_dac_drc_rpfhat: AC_DAC_DRC_RPFHAT
0x114 - DAC DRC Right Peak Filter High Attack Time Coef Register
ac_dac_drc_rpflat: AC_DAC_DRC_RPFLAT
0x118 - DAC DRC Peak Filter Low Attack Time Coef Register
ac_dac_drc_lpfhrt: AC_DAC_DRC_LPFHRT
0x11c - DAC DRC Left Peak Filter High Release Time Coef Register
ac_dac_drc_lpflrt: AC_DAC_DRC_LPFLRT
0x120 - DAC DRC Left Peak Filter Low Release Time Coef Register
ac_dac_drc_rpfhrt: AC_DAC_DRC_RPFHRT
0x124 - DAC DRC Right Peak filter High Release Time Coef Register
ac_dac_drc_rpflrt: AC_DAC_DRC_RPFLRT
0x128 - DAC DRC Right Peak filter Low Release Time Coef Register
ac_dac_drc_lrmshat: AC_DAC_DRC_LRMSHAT
0x12c - DAC DRC Left RMS Filter High Coef Register
ac_dac_drc_lrmslat: AC_DAC_DRC_LRMSLAT
0x130 - DAC DRC Left RMS Filter Low Coef Register
ac_dac_drc_rrmshat: AC_DAC_DRC_RRMSHAT
0x134 - DAC DRC Right RMS Filter High Coef Register
ac_dac_drc_rrmslat: AC_DAC_DRC_RRMSLAT
0x138 - DAC DRC Right RMS Filter Low Coef Register
ac_dac_drc_hct: AC_DAC_DRC_HCT
0x13c - DAC DRC Compressor Threshold High Setting Register
ac_dac_drc_lct: AC_DAC_DRC_LCT
0x140 - DAC DRC Compressor Slope High Setting Register
ac_dac_drc_hkc: AC_DAC_DRC_HKC
0x144 - DAC DRC Compressor Slope High Setting Register
ac_dac_drc_lkc: AC_DAC_DRC_LKC
0x148 - DAC DRC Compressor Slope Low Setting Register
ac_dac_drc_hopc: AC_DAC_DRC_HOPC
0x14c - DAC DRC Compressor High Output at Compressor Threshold Register
ac_dac_drc_lopc: AC_DAC_DRC_LOPC
0x150 - DAC DRC Compressor Low Output at Compressor Threshold Register
ac_dac_drc_hlt: AC_DAC_DRC_HLT
0x154 - DAC DRC Limiter Threshold High Setting Register
ac_dac_drc_llt: AC_DAC_DRC_LLT
0x158 - DAC DRC Limiter Threshold Low Setting Register
ac_dac_drc_hkl: AC_DAC_DRC_HKL
0x15c - DAC DRC Limiter Slope High Setting Register
ac_dac_drc_lkl: AC_DAC_DRC_LKL
0x160 - DAC DRC Limiter Slope Low Setting Register
ac_dac_drc_hopl: AC_DAC_DRC_HOPL
0x164 - DAC DRC Limiter High Output at Limiter Threshold
ac_dac_drc_lopl: AC_DAC_DRC_LOPL
0x168 - DAC DRC Limiter Low Output at Limiter Threshold
ac_dac_drc_het: AC_DAC_DRC_HET
0x16c - DAC DRC Expander Threshold High Setting Register
ac_dac_drc_let: AC_DAC_DRC_LET
0x170 - DAC DRC Expander Threshold Low Setting Register
ac_dac_drc_hke: AC_DAC_DRC_HKE
0x174 - DAC DRC Expander Slope High Setting Register
ac_dac_drc_lke: AC_DAC_DRC_LKE
0x178 - DAC DRC Expander Slope Low Setting Register
ac_dac_drc_hope: AC_DAC_DRC_HOPE
0x17c - DAC DRC Expander High Output at Expander Threshold
ac_dac_drc_lope: AC_DAC_DRC_LOPE
0x180 - DAC DRC Expander Low Output at Expander Threshold
ac_dac_drc_hkn: AC_DAC_DRC_HKN
0x184 - DAC DRC Linear Slope High Setting Register
ac_dac_drc_lkn: AC_DAC_DRC_LKN
0x188 - DAC DRC Linear Slope Low Setting Register
ac_dac_drc_sfhat: AC_DAC_DRC_SFHAT
0x18c - DAC DRC Smooth filter Gain High Attack Time Coef Register
ac_dac_drc_sflat: AC_DAC_DRC_SFLAT
0x190 - DAC DRC Smooth filter Gain Low Attack Time Coef Register
ac_dac_drc_sfhrt: AC_DAC_DRC_SFHRT
0x194 - DAC DRC Smooth filter Gain High Release Time Coef Register
ac_dac_drc_sflrt: AC_DAC_DRC_SFLRT
0x198 - DAC DRC Smooth filter Gain Low Release Time Coef Register
ac_dac_drc_mxghs: AC_DAC_DRC_MXGHS
0x19c - DAC DRC MAX Gain High Setting Register
ac_dac_drc_mxgls: AC_DAC_DRC_MXGLS
0x1a0 - DAC DRC MAX Gain Low Setting Register
ac_dac_drc_mnghs: AC_DAC_DRC_MNGHS
0x1a4 - DAC DRC MIN Gain High Setting Register
ac_dac_drc_mngls: AC_DAC_DRC_MNGLS
0x1a8 - DAC DRC MIN Gain Low Setting Register
ac_dac_drc_epshc: AC_DAC_DRC_EPSHC
0x1ac - DAC DRC Expander Smooth Time High Coef Register
ac_dac_drc_epslc: AC_DAC_DRC_EPSLC
0x1b0 - DAC DRC Expander Smooth Time Low Coef Register
ac_dac_drc_hpfhgain: AC_DAC_DRC_HPFHGAIN
0x1b8 - DAC DRC HPF Gain High Coef Register
ac_dac_drc_hpflgain: AC_DAC_DRC_HPFLGAIN
0x1bc - DAC DRC HPF Gain Low Coef Register
ac_adc_drc_hhpfc: AC_ADC_DRC_HHPFC
0x200 - ADC DRC High HPF Coef Register
ac_adc_drc_lhpfc: AC_ADC_DRC_LHPFC
0x204 - ADC DRC Low HPF Coef Register
ac_adc_drc_ctrl: AC_ADC_DRC_CTRL
0x208 - ADC DRC Control Register
ac_adc_drc_lpfhat: AC_ADC_DRC_LPFHAT
0x20c - ADC DRC Left Peak Filter High Attack Time Coef Register
ac_adc_drc_lpflat: AC_ADC_DRC_LPFLAT
0x210 - ADC DRC Left Peak Filter Low Attack Time Coef Register
ac_adc_drc_rpfhat: AC_ADC_DRC_RPFHAT
0x214 - ADC DRC Right Peak Filter High Attack Time Coef Register
ac_adc_drc_rpflat: AC_ADC_DRC_RPFLAT
0x218 - ADC DRC Right Peak Filter Low Attack Time Coef Register
ac_adc_drc_lpfhrt: AC_ADC_DRC_LPFHRT
0x21c - ADC DRC Left Peak Filter High Release Time Coef Register
ac_adc_drc_lpflrt: AC_ADC_DRC_LPFLRT
0x220 - ADC DRC Left Peak Filter Low Release Time Coef Register
ac_adc_drc_rpfhrt: AC_ADC_DRC_RPFHRT
0x224 - ADC DRC Right Peak Filter High Release Time Coef Register
ac_adc_drc_rpflrt: AC_ADC_DRC_RPFLRT
0x228 - ADC DRC Right Peak Filter Low Release Time Coef Register
ac_adc_drc_lrmshat: AC_ADC_DRC_LRMSHAT
0x22c - ADC DRC Left RMS Filter High Coef Register
ac_adc_drc_lrmslat: AC_ADC_DRC_LRMSLAT
0x230 - ADC DRC Left RMS Filter Low Coef Register
ac_adc_drc_rrmshat: AC_ADC_DRC_RRMSHAT
0x234 - ADC DRC Right RMS Filter High Coef Register
ac_adc_drc_rrmslat: AC_ADC_DRC_RRMSLAT
0x238 - ADC DRC Right RMS Filter Low Coef Register
ac_adc_drc_hct: AC_ADC_DRC_HCT
0x23c - ADC DRC Compressor Threshold High Setting Register
ac_adc_drc_lct: AC_ADC_DRC_LCT
0x240 - ADC DRC Compressor Slope High Setting Register
ac_adc_drc_hkc: AC_ADC_DRC_HKC
0x244 - ADC DRC Compressor Slope High Setting Register
ac_adc_drc_lkc: AC_ADC_DRC_LKC
0x248 - ADC DRC Compressor Slope Low Setting Register
ac_adc_drc_hopc: AC_ADC_DRC_HOPC
0x24c - ADC DRC Compressor High Output at Compressor Threshold Register
ac_adc_drc_lopc: AC_ADC_DRC_LOPC
0x250 - ADC DRC Compressor Low Output at Compressor Threshold Register
ac_adc_drc_hlt: AC_ADC_DRC_HLT
0x254 - ADC DRC Limiter Threshold High Setting Register
ac_adc_drc_llt: AC_ADC_DRC_LLT
0x258 - ADC DRC Limiter Threshold Low Setting Register
ac_adc_drc_hkl: AC_ADC_DRC_HKL
0x25c - ADC DRC Limiter Slope High Setting Register
ac_adc_drc_lkl: AC_ADC_DRC_LKL
0x260 - ADC DRC Limiter Slope Low Setting Register
ac_adc_drc_hopl: AC_ADC_DRC_HOPL
0x264 - ADC DRC Limiter High Output at Limiter Threshold
ac_adc_drc_lopl: AC_ADC_DRC_LOPL
0x268 - ADC DRC Limiter Low Output at Limiter Threshold
ac_adc_drc_het: AC_ADC_DRC_HET
0x26c - ADC DRC Expander Threshold High Setting Register
ac_adc_drc_let: AC_ADC_DRC_LET
0x270 - ADC DRC Expander Threshold Low Setting Register
ac_adc_drc_hke: AC_ADC_DRC_HKE
0x274 - ADC DRC Expander Slope High Setting Register
ac_adc_drc_lke: AC_ADC_DRC_LKE
0x278 - ADC DRC Expander Slope Low Setting Register
ac_adc_drc_hope: AC_ADC_DRC_HOPE
0x27c - ADC DRC Expander High Output at Expander Threshold
ac_adc_drc_lope: AC_ADC_DRC_LOPE
0x280 - ADC DRC Expander Low Output at Expander Threshold
ac_adc_drc_hkn: AC_ADC_DRC_HKN
0x284 - ADC DRC Linear Slope High Setting Register
ac_adc_drc_lkn: AC_ADC_DRC_LKN
0x288 - ADC DRC Linear Slope Low Setting Register
ac_adc_drc_sfhat: AC_ADC_DRC_SFHAT
0x28c - ADC DRC Smooth filter Gain High Attack Time Coef Register
ac_adc_drc_sflat: AC_ADC_DRC_SFLAT
0x290 - ADC DRC Smooth filter Gain Low Attack Time Coef Register
ac_adc_drc_sfhrt: AC_ADC_DRC_SFHRT
0x294 - ADC DRC Smooth filter Gain High Release Time Coef Register
ac_adc_drc_sflrt: AC_ADC_DRC_SFLRT
0x298 - ADC DRC Smooth filter Gain Low Release Time Coef Register
ac_adc_drc_mxghs: AC_ADC_DRC_MXGHS
0x29c - ADC DRC MAX Gain High Setting Register
ac_adc_drc_mxgls: AC_ADC_DRC_MXGLS
0x2a0 - ADC DRC MAX Gain Low Setting Register
ac_adc_drc_mnghs: AC_ADC_DRC_MNGHS
0x2a4 - ADC DRC MIN Gain High Setting Register
ac_adc_drc_mngls: AC_ADC_DRC_MNGLS
0x2a8 - ADC DRC MIN Gain Low Setting Register
ac_adc_drc_epshc: AC_ADC_DRC_EPSHC
0x2ac - ADC DRC Expander Smooth Time High Coef Register
ac_adc_drc_epslc: AC_ADC_DRC_EPSLC
0x2b0 - ADC DRC Expander Smooth Time Low Coef Register
ac_adc_drc_hpfhgain: AC_ADC_DRC_HPFHGAIN
0x2b8 - ADC DRC HPF Gain High Coef Register
ac_adc_drc_hpflgain: AC_ADC_DRC_HPFLGAIN
0x2bc - ADC DRC HPF Gain Low Coef Register
adc: [ADC; 3]
0x300..0x30c - ADC[i] Analog Control Register
dac: DAC
0x310 - DAC Analog Control Register
micbias: MICBIAS
0x318 - MICBIAS Analog Control Register
ramp: RAMP
0x31c - BIAS Analog Control Register
bias: BIAS
0x320 - BIAS Analog Control Register
hmic_ctrl: HMIC_CTRL
0x328 - HMIC Control Register
hmic_sts: HMIC_STS
0x32c - HMIC Status Register
hp2: HP2
0x340 - Headphone2 Analog Control Register
power: POWER
0x348 - POWER Analog Control Register
The register is not controlled by the clock and reset of Audio Codec, only controlled by the clock and reset of system bus.