Struct d1_pac::audio_codec::dac_vol_ctrl::W
source · pub struct W(/* private fields */);
Expand description
Register dac_vol_ctrl
writer
Implementations§
source§impl W
impl W
sourcepub fn dac_vol_r(&mut self) -> DAC_VOL_R_W<'_, 0>
pub fn dac_vol_r(&mut self) -> DAC_VOL_R_W<'_, 0>
Bits 0:7 - DAC right channel volum
(-119.25 dB to 71.25 dB, 0.75 dB/Step)
0x00: Mute
0x01: -119.25 dB
…
0x9F = -0.75 dB
0xA0 = 0 dB
0xA1 = 0.75 dB
…
0xFF = 71.25 dBe
sourcepub fn dac_vol_l(&mut self) -> DAC_VOL_L_W<'_, 8>
pub fn dac_vol_l(&mut self) -> DAC_VOL_L_W<'_, 8>
Bits 8:15 - DAC left channel volum
(-119.25 dB to 71.25 dB, 0.75 dB/Step)
0x00: Mute
0x01: -119.25 dB
…
0x9F = -0.75 dB
0xA0 = 0 dB
0xA1 = 0.75 dB
…
0xFF = 71.25 dBe
sourcepub fn dac_vol_sel(&mut self) -> DAC_VOL_SEL_W<'_, 16>
pub fn dac_vol_sel(&mut self) -> DAC_VOL_SEL_W<'_, 16>
Bit 16 - DAC Volume Control Selection Enable
Methods from Deref<Target = W<DAC_VOL_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