pub type MODE2_W<'a, const O: u8> = FieldWriter<'a, u32, DAC_MCR_SPEC, u8, u8, 3, O>;
Expand description

Field MODE2 writer - DAC Channel 2 mode These bits can be written only when the DAC is disabled and not in the calibration mode (when bit EN2=0 and bit CEN2 =0 in the DAC_CR register). If EN2=1 or CEN2 =1 the write operation is ignored. They can be set and cleared by software to select the DAC Channel 2 mode: DAC Channel 2 in normal Mode DAC Channel 2 in sample & hold mode