Type Alias xmc4800::dac::dac0cfg1::DatmodR

source ·
pub type DatmodR = BitReader<Datmod>;
Expand description

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

Aliased Type§

struct DatmodR { /* private fields */ }

Implementations§

source§

impl DatmodR

source

pub const fn variant(&self) -> Datmod

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

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 is_value2(&self) -> bool

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