pub struct W(_);
Expand description
Register SWTRIGR
writer
Implementations§
source§impl W
impl W
sourcepub fn swtrig1(
&mut self
) -> BitWriterRaw<'_, u32, SWTRIGR_SPEC, SWTRIG1_AW, BitM, 0>
pub fn swtrig1(
&mut self
) -> BitWriterRaw<'_, u32, SWTRIGR_SPEC, SWTRIG1_AW, BitM, 0>
Bit 0 - DAC channel1 software trigger
sourcepub fn swtrig2(
&mut self
) -> BitWriterRaw<'_, u32, SWTRIGR_SPEC, SWTRIG1_AW, BitM, 1>
pub fn swtrig2(
&mut self
) -> BitWriterRaw<'_, u32, SWTRIGR_SPEC, SWTRIG1_AW, BitM, 1>
Bit 1 - DAC channel2 software trigger
Methods from Deref<Target = W<SWTRIGR_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.