Struct d1_pac::audio_codec::adc_dig_ctrl::W
source · pub struct W(/* private fields */);
Expand description
Register adc_dig_ctrl
writer
Implementations§
source§impl W
impl W
sourcepub fn adc_channel_en(&mut self) -> ADC_CHANNEL_EN_W<'_, 0>
pub fn adc_channel_en(&mut self) -> ADC_CHANNEL_EN_W<'_, 0>
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(&mut self) -> ADC1_2_VOL_EN_W<'_, 16>
pub fn adc1_2_vol_en(&mut self) -> ADC1_2_VOL_EN_W<'_, 16>
Bit 16 - ADC1/2 Volume Control Enable
sourcepub fn adc3_vol_en(&mut self) -> ADC3_VOL_EN_W<'_, 17>
pub fn adc3_vol_en(&mut self) -> ADC3_VOL_EN_W<'_, 17>
Bit 17 - ADC3 Volume Control Enable
Methods from Deref<Target = W<ADC_DIG_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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