Struct d1_pac::tve_top::tve_dac_cfg1::R
source · pub struct R(/* private fields */);
Expand description
Register tve_dac_cfg1
reader
Implementations§
source§impl R
impl R
sourcepub fn ref1_sel(&self) -> REF1_SEL_R
pub fn ref1_sel(&self) -> REF1_SEL_R
Bits 0:3 - (a_refslct1[3:0])
The reference voltage is used for hot plug detect function.
sourcepub fn ref2_sel(&self) -> REF2_SEL_R
pub fn ref2_sel(&self) -> REF2_SEL_R
Bits 4:5 - (a_refslct2[1:0])
sourcepub fn ref_int_sel(&self) -> REF_INT_SEL_R
pub fn ref_int_sel(&self) -> REF_INT_SEL_R
Bit 8 - (A_SEL_DETREF_RES)
sourcepub fn ref_ext_sel(&self) -> REF_EXT_SEL_R
pub fn ref_ext_sel(&self) -> REF_EXT_SEL_R
Bit 9 - (A_SEL_DETREF_LDO)
Methods from Deref<Target = R<TVE_DAC_CFG1_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