Struct d1_pac::audio_codec::hp2::R
source · pub struct R(/* private fields */);
Expand description
Register hp2
reader
Implementations§
source§impl R
impl R
sourcepub fn hpfb_buf_output_current(&self) -> HPFB_BUF_OUTPUT_CURRENT_R
pub fn hpfb_buf_output_current(&self) -> HPFB_BUF_OUTPUT_CURRENT_R
Bits 8:9 - Headphone Feedback Buffer Output Current Select
I = 7uA
sourcepub fn ramp_final_state_res(&self) -> RAMP_FINAL_STATE_RES_R
pub fn ramp_final_state_res(&self) -> RAMP_FINAL_STATE_RES_R
Bits 13:14 - Ramp Final State Resistor
sourcepub fn ramp_out_en(&self) -> RAMP_OUT_EN_R
pub fn ramp_out_en(&self) -> RAMP_OUT_EN_R
Bit 15 - Ramp Output Switch Enable
sourcepub fn ramp_final_control(&self) -> RAMP_FINAL_CONTROL_R
pub fn ramp_final_control(&self) -> RAMP_FINAL_CONTROL_R
Bit 16 - Headphone Ramp Final Step Control
sourcepub fn hpfb_in_en(&self) -> HPFB_IN_EN_R
pub fn hpfb_in_en(&self) -> HPFB_IN_EN_R
Bit 17 - Headphone Feedback PAD IN Switch Enable
sourcepub fn hp_drvouten(&self) -> HP_DRVOUTEN_R
pub fn hp_drvouten(&self) -> HP_DRVOUTEN_R
Bit 20 - Headphone Driver Output Enable
sourcepub fn hp_drven(&self) -> HP_DRVEN_R
pub fn hp_drven(&self) -> HP_DRVEN_R
Bit 21 - Headphone Driver Enable
sourcepub fn opdrv_cur(&self) -> OPDRV_CUR_R
pub fn opdrv_cur(&self) -> OPDRV_CUR_R
Bits 24:25 - Headphone OP Output Stage Current Setting
sourcepub fn hpfb_res(&self) -> HPFB_RES_R
pub fn hpfb_res(&self) -> HPFB_RES_R
Bits 26:27 - Headphone Feedback Big Resistor Control
sourcepub fn headphone_gain(&self) -> HEADPHONE_GAIN_R
pub fn headphone_gain(&self) -> HEADPHONE_GAIN_R
Bits 28:30 - Headphone Gain
sourcepub fn hpfb_buf_en(&self) -> HPFB_BUF_EN_R
pub fn hpfb_buf_en(&self) -> HPFB_BUF_EN_R
Bit 31 - Headphone Feedback Buffer OP Enable
Methods from Deref<Target = R<HP2_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