Struct d1_pac::audio_codec::micbias::R
source · pub struct R(/* private fields */);
Expand description
Register micbias
reader
Implementations§
source§impl R
impl R
sourcepub fn mmic_bias_chopper_clk_sel(&self) -> MMIC_BIAS_CHOPPER_CLK_SEL_R
pub fn mmic_bias_chopper_clk_sel(&self) -> MMIC_BIAS_CHOPPER_CLK_SEL_R
Bits 2:3 - MMIC BIAS Chopper Clock Select
sourcepub fn mmic_bias_chopper_en(&self) -> MMIC_BIAS_CHOPPER_EN_R
pub fn mmic_bias_chopper_en(&self) -> MMIC_BIAS_CHOPPER_EN_R
Bit 4 - MMIC BIAS Chopper Enable
sourcepub fn mbiassel(&self) -> MBIASSEL_R
pub fn mbiassel(&self) -> MBIASSEL_R
Bits 5:6 - MMICBIAS Voltage Level Select
sourcepub fn mmicbiasen(&self) -> MMICBIASEN_R
pub fn mmicbiasen(&self) -> MMICBIASEN_R
Bit 7 - Master Microphone Bias Enable
sourcepub fn hmic_bias_chopper_clk_sel(&self) -> HMIC_BIAS_CHOPPER_CLK_SEL_R
pub fn hmic_bias_chopper_clk_sel(&self) -> HMIC_BIAS_CHOPPER_CLK_SEL_R
Bits 10:11 - HMIC BIAS Chopper Clock Select
sourcepub fn hmic_bias_chopper_en(&self) -> HMIC_BIAS_CHOPPER_EN_R
pub fn hmic_bias_chopper_en(&self) -> HMIC_BIAS_CHOPPER_EN_R
Bit 12 - HMIC BIAS Chopper Enable
sourcepub fn hbiassel(&self) -> HBIASSEL_R
pub fn hbiassel(&self) -> HBIASSEL_R
Bits 13:14 - HMICBIAS Voltage Level Select
sourcepub fn hmicbiasen(&self) -> HMICBIASEN_R
pub fn hmicbiasen(&self) -> HMICBIASEN_R
Bit 15 - Headphone Microphone Bias Enable
sourcepub fn micdetpl(&self) -> MICDETPL_R
pub fn micdetpl(&self) -> MICDETPL_R
Bit 16 - When this bit is 1and AUTOPLEN is 0, the MICDET is pulled down to GND.
sourcepub fn autoplen(&self) -> AUTOPLEN_R
pub fn autoplen(&self) -> AUTOPLEN_R
Bit 17 - Enable the function to auto pull low MICDET when jack removal
sourcepub fn det_mode(&self) -> DET_MODE_R
pub fn det_mode(&self) -> DET_MODE_R
Bit 18 - MIC Detect Mode
sourcepub fn popfree(&self) -> POPFREE_R
pub fn popfree(&self) -> POPFREE_R
Bit 19 - When this bit is 0, HBIAS MICADC is controlled by registor
sourcepub fn micadcen(&self) -> MICADCEN_R
pub fn micadcen(&self) -> MICADCEN_R
Bit 20 - Microphone detect ADC enable
sourcepub fn seldetadcdy(&self) -> SELDETADCDY_R
pub fn seldetadcdy(&self) -> SELDETADCDY_R
Bits 21:22 - Select the delay time to pull low the micdet when jack removal
sourcepub fn jackdeten(&self) -> JACKDETEN_R
pub fn jackdeten(&self) -> JACKDETEN_R
Bit 23 - Jack detect enable
sourcepub fn seldetadcbf(&self) -> SELDETADCBF_R
pub fn seldetadcbf(&self) -> SELDETADCBF_R
Bits 24:25 - Select the time to enable HBIAS before MICADC work
sourcepub fn seldetadcdb(&self) -> SELDETADCDB_R
pub fn seldetadcdb(&self) -> SELDETADCDB_R
Bits 26:27 - Select debounce time when jack removal
sourcepub fn seldetadcfs(&self) -> SELDETADCFS_R
pub fn seldetadcfs(&self) -> SELDETADCFS_R
Bits 28:30 - Select sample interval of the ADC sample\ 2 ^ (SELDETADCFS + 1) ms