Type Alias xmc4300::dac::dac0cfg1::DATMOD_R

source ·
pub type DATMOD_R = BitReader<DATMOD_A>;
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 DATMOD_R { /* private fields */ }

Implementations§

source§

impl DATMOD_R

source

pub const fn variant(&self) -> DATMOD_A

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).