pub struct W(_);
Expand description
Register IVREF_CTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn csdt(
&mut self
) -> FieldWriterRaw<'_, u32, IVREF_CTL_SPEC, u8, u8, Safe, 6_u8, 0_u8>
pub fn csdt(
&mut self
) -> FieldWriterRaw<'_, u32, IVREF_CTL_SPEC, u8, u8, Safe, 6_u8, 0_u8>
Bits 0:5 - Current step data
sourcepub fn scmod(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, SCMOD_A, BitM, 7_u8>
pub fn scmod(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, SCMOD_A, BitM, 7_u8>
Bit 7 - Sink current mode
sourcepub fn cpt(
&mut self
) -> FieldWriterRaw<'_, u32, IVREF_CTL_SPEC, u8, CPT_A, Safe, 5_u8, 8_u8>
pub fn cpt(
&mut self
) -> FieldWriterRaw<'_, u32, IVREF_CTL_SPEC, u8, CPT_A, Safe, 5_u8, 8_u8>
Bits 8:12 - Current precision trim
sourcepub fn ssel(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, SSEL_A, BitM, 14_u8>
pub fn ssel(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, SSEL_A, BitM, 14_u8>
Bit 14 - Step selection
sourcepub fn cren(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, CREN_A, BitM, 15_u8>
pub fn cren(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, CREN_A, BitM, 15_u8>
Bit 15 - Current reference enable
sourcepub fn vpt(
&mut self
) -> FieldWriterRaw<'_, u32, IVREF_CTL_SPEC, u8, VPT_A, Safe, 5_u8, 24_u8>
pub fn vpt(
&mut self
) -> FieldWriterRaw<'_, u32, IVREF_CTL_SPEC, u8, VPT_A, Safe, 5_u8, 24_u8>
Bits 24:28 - Voltage precision tirm
sourcepub fn decap(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, DECAP_A, BitM, 30_u8>
pub fn decap(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, DECAP_A, BitM, 30_u8>
Bit 30 - Disconnect external capacitor
sourcepub fn vren(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, VREN_A, BitM, 31_u8>
pub fn vren(
&mut self
) -> BitWriterRaw<'_, u32, IVREF_CTL_SPEC, VREN_A, BitM, 31_u8>
Bit 31 - Voltage reference enable
Methods from Deref<Target = W<IVREF_CTL_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<IVREF_CTL_SPEC>> for W
impl From<W<IVREF_CTL_SPEC>> for W
sourcefn from(writer: W<IVREF_CTL_SPEC>) -> W
fn from(writer: W<IVREF_CTL_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more