Struct d1_pac::audio_codec::dac_vol_ctrl::R
source · pub struct R(/* private fields */);
Expand description
Register dac_vol_ctrl
reader
Implementations§
source§impl R
impl R
sourcepub fn dac_vol_r(&self) -> DAC_VOL_R_R
pub fn dac_vol_r(&self) -> DAC_VOL_R_R
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(&self) -> DAC_VOL_L_R
pub fn dac_vol_l(&self) -> DAC_VOL_L_R
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(&self) -> DAC_VOL_SEL_R
pub fn dac_vol_sel(&self) -> DAC_VOL_SEL_R
Bit 16 - DAC Volume Control Selection Enable
Methods from Deref<Target = R<DAC_VOL_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