Struct d1_pac::audio_codec::hp2::W
source · pub struct W(/* private fields */);
Expand description
Register hp2
writer
Implementations§
source§impl W
impl W
sourcepub fn hpfb_buf_output_current(&mut self) -> HPFB_BUF_OUTPUT_CURRENT_W<'_, 8>
pub fn hpfb_buf_output_current(&mut self) -> HPFB_BUF_OUTPUT_CURRENT_W<'_, 8>
Bits 8:9 - Headphone Feedback Buffer Output Current Select
I = 7uA
sourcepub fn ramp_final_state_res(&mut self) -> RAMP_FINAL_STATE_RES_W<'_, 13>
pub fn ramp_final_state_res(&mut self) -> RAMP_FINAL_STATE_RES_W<'_, 13>
Bits 13:14 - Ramp Final State Resistor
sourcepub fn ramp_out_en(&mut self) -> RAMP_OUT_EN_W<'_, 15>
pub fn ramp_out_en(&mut self) -> RAMP_OUT_EN_W<'_, 15>
Bit 15 - Ramp Output Switch Enable
sourcepub fn ramp_final_control(&mut self) -> RAMP_FINAL_CONTROL_W<'_, 16>
pub fn ramp_final_control(&mut self) -> RAMP_FINAL_CONTROL_W<'_, 16>
Bit 16 - Headphone Ramp Final Step Control
sourcepub fn hpfb_in_en(&mut self) -> HPFB_IN_EN_W<'_, 17>
pub fn hpfb_in_en(&mut self) -> HPFB_IN_EN_W<'_, 17>
Bit 17 - Headphone Feedback PAD IN Switch Enable
sourcepub fn hp_drvouten(&mut self) -> HP_DRVOUTEN_W<'_, 20>
pub fn hp_drvouten(&mut self) -> HP_DRVOUTEN_W<'_, 20>
Bit 20 - Headphone Driver Output Enable
sourcepub fn hp_drven(&mut self) -> HP_DRVEN_W<'_, 21>
pub fn hp_drven(&mut self) -> HP_DRVEN_W<'_, 21>
Bit 21 - Headphone Driver Enable
sourcepub fn opdrv_cur(&mut self) -> OPDRV_CUR_W<'_, 24>
pub fn opdrv_cur(&mut self) -> OPDRV_CUR_W<'_, 24>
Bits 24:25 - Headphone OP Output Stage Current Setting
sourcepub fn hpfb_res(&mut self) -> HPFB_RES_W<'_, 26>
pub fn hpfb_res(&mut self) -> HPFB_RES_W<'_, 26>
Bits 26:27 - Headphone Feedback Big Resistor Control
sourcepub fn headphone_gain(&mut self) -> HEADPHONE_GAIN_W<'_, 28>
pub fn headphone_gain(&mut self) -> HEADPHONE_GAIN_W<'_, 28>
Bits 28:30 - Headphone Gain
sourcepub fn hpfb_buf_en(&mut self) -> HPFB_BUF_EN_W<'_, 31>
pub fn hpfb_buf_en(&mut self) -> HPFB_BUF_EN_W<'_, 31>
Bit 31 - Headphone Feedback Buffer OP Enable
Methods from Deref<Target = W<HP2_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