pub struct W(_);
Expand description
Register DAC_SWTRGR
writer
Implementations
sourceimpl W
impl W
sourcepub fn swtrig1(&mut self) -> SWTRIG1_W<'_, 0>
pub fn swtrig1(&mut self) -> SWTRIG1_W<'_, 0>
Bit 0 - DAC channel1 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR1 register value has been loaded into the DAC_DOR1 register.
sourcepub fn swtrig2(&mut self) -> SWTRIG2_W<'_, 1>
pub fn swtrig2(&mut self) -> SWTRIG2_W<'_, 1>
Bit 1 - DAC channel2 software trigger This bit is set by software to trigger the DAC in software trigger mode. Note: This bit is cleared by hardware (one APB1 clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register.
sourcepub fn swtrigb1(&mut self) -> SWTRIGB1_W<'_, 16>
pub fn swtrigb1(&mut self) -> SWTRIGB1_W<'_, 16>
Bit 16 - DAC channel1 software trigger B
sourcepub fn swtrigb2(&mut self) -> SWTRIGB2_W<'_, 17>
pub fn swtrigb2(&mut self) -> SWTRIGB2_W<'_, 17>
Bit 17 - DAC channel2 software trigger B
Methods from Deref<Target = W<DAC_SWTRGR_SPEC>>
Trait Implementations
sourceimpl From<W<DAC_SWTRGR_SPEC>> for W
impl From<W<DAC_SWTRGR_SPEC>> for W
sourcefn from(writer: W<DAC_SWTRGR_SPEC>) -> Self
fn from(writer: W<DAC_SWTRGR_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