pub struct W(_);
Expand description
Register DAC_MCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn mode1(&mut self) -> MODE1_W<'_, 0>
pub fn mode1(&mut self) -> MODE1_W<'_, 0>
Bits 0:2 - DAC Channel 1 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN1=0 and bit CEN1 =0 in the DAC_CR register). If EN1=1 or CEN1 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 1 mode: DAC Channel 1 in normal Mode DAC Channel 1 in sample & hold mode
sourcepub fn dmadouble1(&mut self) -> DMADOUBLE1_W<'_, 8>
pub fn dmadouble1(&mut self) -> DMADOUBLE1_W<'_, 8>
Bit 8 - DAC Channel1 DMA double data mode
sourcepub fn sinformat1(&mut self) -> SINFORMAT1_W<'_, 9>
pub fn sinformat1(&mut self) -> SINFORMAT1_W<'_, 9>
Bit 9 - Enable signed format for DAC channel1
sourcepub fn hfsel(&mut self) -> HFSEL_W<'_, 14>
pub fn hfsel(&mut self) -> HFSEL_W<'_, 14>
Bits 14:15 - High frequency interface mode selection
sourcepub fn mode2(&mut self) -> MODE2_W<'_, 16>
pub fn mode2(&mut self) -> MODE2_W<'_, 16>
Bits 16:18 - DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode
sourcepub fn dmadouble2(&mut self) -> DMADOUBLE2_W<'_, 24>
pub fn dmadouble2(&mut self) -> DMADOUBLE2_W<'_, 24>
Bit 24 - DAC Channel2 DMA double data mode
sourcepub fn sinformat2(&mut self) -> SINFORMAT2_W<'_, 25>
pub fn sinformat2(&mut self) -> SINFORMAT2_W<'_, 25>
Bit 25 - Enable signed format for DAC channel2
Methods from Deref<Target = W<DAC_MCR_SPEC>>
Trait Implementations
sourceimpl From<W<DAC_MCR_SPEC>> for W
impl From<W<DAC_MCR_SPEC>> for W
sourcefn from(writer: W<DAC_MCR_SPEC>) -> Self
fn from(writer: W<DAC_MCR_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