pub struct W(_);
Expand description
Register CFGR2
writer
Implementations
sourceimpl W
impl W
sourcepub fn ovse(&mut self) -> OVSE_W<'_, 0>
pub fn ovse(&mut self) -> OVSE_W<'_, 0>
Bit 0 - Oversampler Enable This bit is set and cleared by software. Note: Software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
sourcepub fn ovsr(&mut self) -> OVSR_W<'_, 2>
pub fn ovsr(&mut self) -> OVSR_W<'_, 2>
Bits 2:4 - Oversampling ratio This bit filed defines the number of oversampling ratio. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
sourcepub fn ovss(&mut self) -> OVSS_W<'_, 5>
pub fn ovss(&mut self) -> OVSS_W<'_, 5>
Bits 5:8 - Oversampling shift This bit is set and cleared by software. Others: Reserved Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
sourcepub fn tovs(&mut self) -> TOVS_W<'_, 9>
pub fn tovs(&mut self) -> TOVS_W<'_, 9>
Bit 9 - Triggered Oversampling This bit is set and cleared by software. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
sourcepub fn lftrig(&mut self) -> LFTRIG_W<'_, 29>
pub fn lftrig(&mut self) -> LFTRIG_W<'_, 29>
Bit 29 - Low frequency trigger mode enable This bit is set and cleared by software. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).
sourcepub fn ckmode(&mut self) -> CKMODE_W<'_, 30>
pub fn ckmode(&mut self) -> CKMODE_W<'_, 30>
Bits 30:31 - ADC clock mode These bits are set and cleared by software to define how the analog ADC is clocked: In all synchronous clock modes, there is no jitter in the delay from a timer trigger to the start of a conversion. Note: The software is allowed to write these bits only when the ADC is disabled (ADCALÂ =Â 0, ADSTARTÂ =Â 0, ADSTPÂ =Â 0, ADDISÂ =Â 0 and ADENÂ =Â 0).
Methods from Deref<Target = W<CFGR2_SPEC>>
Trait Implementations
sourceimpl From<W<CFGR2_SPEC>> for W
impl From<W<CFGR2_SPEC>> for W
sourcefn from(writer: W<CFGR2_SPEC>) -> Self
fn from(writer: W<CFGR2_SPEC>) -> Self
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