Type Alias xmc4300::dac::dac0cfg1::MULDIV_W

source ·
pub type MULDIV_W<'a, REG> = BitWriter<'a, REG, MULDIV_A>;
Expand description

Field MULDIV writer - Switch between up- and downscale of the DAC0 input data values

Aliased Type§

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

Implementations§

source§

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

source

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

downscale = division (shift SCALE positions to the right)

source

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

upscale = multiplication (shift SCALE positions to the left)