Type Alias xmc4800::dac::dac0cfg1::DatmodW

source ·
pub type DatmodW<'a, REG> = BitWriter<'a, REG, Datmod>;
Expand description

Field DATMOD writer - Switch between independent or simultaneous DAC mode and select the input data register for DAC0 and DAC1

Aliased Type§

struct DatmodW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> DatmodW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn value1(self) -> &'a mut W<REG>

independent data handling - process data from DATA0 register (bits 11:0) to DAC0 and data from DATA1 register (bits 11:0) to DAC1

source

pub fn value2(self) -> &'a mut W<REG>

simultaneous data handling - process data from DAC01 register to both DACs (bits 11:0 to DAC0 and bits 23:12 to DAC1).