pub struct W(_);
Expand description
Register 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 dac_pclk 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 dac_pclk clock cycle later) once the DAC_DHR2 register value has been loaded into the DAC_DOR2 register. This bit is available only on dual-channel DACs. Refer to implementation.
Methods from Deref<Target = W<SWTRGR_SPEC>>
Trait Implementations
sourceimpl From<W<SWTRGR_SPEC>> for W
impl From<W<SWTRGR_SPEC>> for W
sourcefn from(writer: W<SWTRGR_SPEC>) -> Self
fn from(writer: W<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