pub struct W(_);
Expand description
Register CCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn presc(&mut self) -> PRESC_W<'_, 18>
pub fn presc(&mut self) -> PRESC_W<'_, 18>
Bits 18:21 - ADC prescaler Set and cleared by software to select the frequency of the clock to the ADC. Other: Reserved Note: Software is allowed to write these bits only when the ADC is disabled (ADCALÂ =Â 0, ADSTARTÂ =Â 0, ADSTPÂ =Â 0, ADDISÂ =Â 0 and ADENÂ =Â 0).
sourcepub fn vrefen(&mut self) -> VREFEN_W<'_, 22>
pub fn vrefen(&mut self) -> VREFEN_W<'_, 22>
Bit 22 - VREFINT enable This bit is set and cleared by software to enable/disable the VREFINT. Note: Software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
sourcepub fn tsen(&mut self) -> TSEN_W<'_, 23>
pub fn tsen(&mut self) -> TSEN_W<'_, 23>
Bit 23 - Temperature sensor enable This bit is set and cleared by software to enable/disable the temperature sensor. Note: Software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Methods from Deref<Target = W<CCR_SPEC>>
Trait Implementations
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