pub struct R(_);
Expand description
Register DAC_MCR
reader
Implementations
sourceimpl R
impl R
sourcepub fn mode1(&self) -> MODE1_R
pub fn mode1(&self) -> MODE1_R
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(&self) -> DMADOUBLE1_R
pub fn dmadouble1(&self) -> DMADOUBLE1_R
Bit 8 - DAC Channel1 DMA double data mode
sourcepub fn sinformat1(&self) -> SINFORMAT1_R
pub fn sinformat1(&self) -> SINFORMAT1_R
Bit 9 - Enable signed format for DAC channel1
sourcepub fn mode2(&self) -> MODE2_R
pub fn mode2(&self) -> MODE2_R
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(&self) -> DMADOUBLE2_R
pub fn dmadouble2(&self) -> DMADOUBLE2_R
Bit 24 - DAC Channel2 DMA double data mode
sourcepub fn sinformat2(&self) -> SINFORMAT2_R
pub fn sinformat2(&self) -> SINFORMAT2_R
Bit 25 - Enable signed format for DAC channel2
Methods from Deref<Target = R<DAC_MCR_SPEC>>
Trait Implementations
sourceimpl From<R<DAC_MCR_SPEC>> for R
impl From<R<DAC_MCR_SPEC>> for R
sourcefn from(reader: R<DAC_MCR_SPEC>) -> Self
fn from(reader: R<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