pub struct W(_);
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.