pub struct W(/* private fields */);
Expand description
Register CCR
writer
Implementations§
Source§impl 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
Sourcepub fn adcpre(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, ADCPRE_A, Safe, 2, 16>
pub fn adcpre( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, ADCPRE_A, Safe, 2, 16>
Bits 16:17 - ADC prescaler
Sourcepub fn dma(
&mut self,
) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, DMA_A, Safe, 2, 14>
pub fn dma( &mut self, ) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, DMA_A, Safe, 2, 14>
Bits 14:15 - Direct memory access mode for multi ADC mode
Sourcepub fn dds(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, DDS_A, BitM, 13>
pub fn dds(&mut self) -> BitWriterRaw<'_, u32, CCR_SPEC, DDS_A, BitM, 13>
Bit 13 - DMA disable selection for multi-ADC mode
Sourcepub fn delay(&mut self) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Safe, 4, 8>
pub fn delay(&mut self) -> FieldWriterRaw<'_, u32, CCR_SPEC, u8, u8, Safe, 4, 8>
Bits 8:11 - Delay between 2 sampling phases
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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more