Struct stm32f4xx_hal::pac::adc_common::ccr::W
source · [−]pub struct W(_);
Expand description
Register CCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn tsvrefe(
&mut self
) -> BitWriterRaw<'_, u32, CCR_SPEC, TSVREFE_A, BitM, 23>
pub fn tsvrefe(
&mut self
) -> BitWriterRaw<'_, u32, CCR_SPEC, TSVREFE_A, BitM, 23>
Bit 23 - Temperature sensor and VREFINT enable
sourcepub fn vbate(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, VBATE_A, BitM, 22>
pub fn vbate(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, VBATE_A, BitM, 22>
Bit 22 - VBAT enable
Methods from Deref<Target = W<CCR_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