Struct d1_pac::audio_codec::hmic_ctrl::R
source · pub struct R(/* private fields */);
Expand description
Register hmic_ctrl
reader
Implementations§
source§impl R
impl R
sourcepub fn mic_det_irq_en(&self) -> MIC_DET_IRQ_EN_R
pub fn mic_det_irq_en(&self) -> MIC_DET_IRQ_EN_R
Bit 0 - MIC Detect Interrupt Set
sourcepub fn jack_in_irq_en(&self) -> JACK_IN_IRQ_EN_R
pub fn jack_in_irq_en(&self) -> JACK_IN_IRQ_EN_R
Bit 1 - MIC Detect Interrupt Set
sourcepub fn jack_out_irq_en(&self) -> JACK_OUT_IRQ_EN_R
pub fn jack_out_irq_en(&self) -> JACK_OUT_IRQ_EN_R
Bit 2 - MIC Detect Interrupt Set
sourcepub fn mdata_threshold_debounce(&self) -> MDATA_THRESHOLD_DEBOUNCE_R
pub fn mdata_threshold_debounce(&self) -> MDATA_THRESHOLD_DEBOUNCE_R
Bits 3:5 - MDATA Threshold Debounce
sourcepub fn hmic_n(&self) -> HMIC_N_R
pub fn hmic_n(&self) -> HMIC_N_R
Bits 6:9 - Debounce when earphone plug in or pull out 125 ms to 2 s
sourcepub fn hmic_m(&self) -> HMIC_M_R
pub fn hmic_m(&self) -> HMIC_M_R
Bits 10:13 - Debounce when the MIC Key down or up.
(HMIC_M + 1) sample data
sourcepub fn mdata_threshold(&self) -> MDATA_THRESHOLD_R
pub fn mdata_threshold(&self) -> MDATA_THRESHOLD_R
Bits 16:20 - MIC DET EN Threshold Value
sourcepub fn hmic_sample_select(&self) -> HMIC_SAMPLE_SELECT_R
pub fn hmic_sample_select(&self) -> HMIC_SAMPLE_SELECT_R
Bits 21:22 - Down Sample Setting Select
Methods from Deref<Target = R<HMIC_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more