Struct d1_pac::audio_codec::adc_dig_ctrl::R
source · pub struct R(/* private fields */);
Expand description
Register adc_dig_ctrl
reader
Implementations§
source§impl R
impl R
sourcepub fn adc_channel_en(&self) -> ADC_CHANNEL_EN_R
pub fn adc_channel_en(&self) -> ADC_CHANNEL_EN_R
Bits 0:2 - Bit 3: ADC4 enabled
Bit 2: ADC3 enabled
Bit 1: ADC2 enabled
Bit 0: ADC1 enabled
sourcepub fn adc1_2_vol_en(&self) -> ADC1_2_VOL_EN_R
pub fn adc1_2_vol_en(&self) -> ADC1_2_VOL_EN_R
Bit 16 - ADC1/2 Volume Control Enable
sourcepub fn adc3_vol_en(&self) -> ADC3_VOL_EN_R
pub fn adc3_vol_en(&self) -> ADC3_VOL_EN_R
Bit 17 - ADC3 Volume Control Enable
Methods from Deref<Target = R<ADC_DIG_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