pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn adcal(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADCAL_A, BitM, 31>
pub fn adcal(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADCAL_A, BitM, 31>
Bit 31 - ADC calibration
sourcepub fn adcaldif(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADCALDIF_A, BitM, 30>
pub fn adcaldif(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADCALDIF_A, BitM, 30>
Bit 30 - ADC differential mode for calibration
sourcepub fn deeppwd(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DEEPPWD_A, BitM, 29>
pub fn deeppwd(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DEEPPWD_A, BitM, 29>
Bit 29 - ADC deep power down enable
sourcepub fn advregen(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADVREGEN_A, BitM, 28>
pub fn advregen(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADVREGEN_A, BitM, 28>
Bit 28 - ADC voltage regulator enable
sourcepub fn lincalrdyw6(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 27>
pub fn lincalrdyw6(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 27>
Bit 27 - Linearity calibration ready Word 6
sourcepub fn lincalrdyw5(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 26>
pub fn lincalrdyw5(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 26>
Bit 26 - Linearity calibration ready Word 5
sourcepub fn lincalrdyw4(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 25>
pub fn lincalrdyw4(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 25>
Bit 25 - Linearity calibration ready Word 4
sourcepub fn lincalrdyw3(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 24>
pub fn lincalrdyw3(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 24>
Bit 24 - Linearity calibration ready Word 3
sourcepub fn lincalrdyw2(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 23>
pub fn lincalrdyw2(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 23>
Bit 23 - Linearity calibration ready Word 2
sourcepub fn lincalrdyw1(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 22>
pub fn lincalrdyw1(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, LINCALRDYW1_A, BitM, 22>
Bit 22 - Linearity calibration ready Word 1
sourcepub fn adcallin(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADCALLIN_A, BitM, 16>
pub fn adcallin(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADCALLIN_A, BitM, 16>
Bit 16 - Linearity calibration
sourcepub fn boost(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, BOOST_A, Safe, 2, 8>
pub fn boost(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, BOOST_A, Safe, 2, 8>
Bits 8:9 - Boost mode control
sourcepub fn jadstp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTP_AW, BitM, 5>
pub fn jadstp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTP_AW, BitM, 5>
Bit 5 - ADC group injected conversion stop
sourcepub fn adstp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTP_AW, BitM, 4>
pub fn adstp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTP_AW, BitM, 4>
Bit 4 - ADC group regular conversion stop
sourcepub fn jadstart(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTART_AW, BitM, 3>
pub fn jadstart(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTART_AW, BitM, 3>
Bit 3 - ADC group injected conversion start
sourcepub fn adstart(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTART_AW, BitM, 2>
pub fn adstart(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, ADSTART_AW, BitM, 2>
Bit 2 - ADC group regular conversion start
Methods from Deref<Target = W<CR_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
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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