Type Definition stm32g0::stm32g071::dac::dac_swtrgr::W[][src]

type W = W<u32, DAC_SWTRGR>;

Writer for register DAC_SWTRGR

Implementations

impl W[src]

pub fn swtrig1(&mut self) -> SWTRIG1_W<'_>[src]

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.

pub fn swtrig2(&mut self) -> SWTRIG2_W<'_>[src]

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.