Type Definition stm32g0::stm32g081::dac::mcr::MODE1_W

source · []
pub type MODE1_W<'a, const O: u8> = FieldWriter<'a, u32, MCR_SPEC, u8, u8, 3, O>;
Expand description

Field MODE1 writer - 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