Type Alias xmc4800::dac::dac0cfg1::W

source ·
pub type W = W<Dac0cfg1Spec>;
Expand description

Register DAC0CFG1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn scale(&mut self) -> ScaleW<'_, Dac0cfg1Spec>

Bits 0:2 - Scale value for up- or downscale of the DAC0 input data in steps by the power of 2 (=shift operation)

source

pub fn muldiv(&mut self) -> MuldivW<'_, Dac0cfg1Spec>

Bit 3 - Switch between up- and downscale of the DAC0 input data values

source

pub fn offs(&mut self) -> OffsW<'_, Dac0cfg1Spec>

Bits 4:11 - 8-bit offset value addition

source

pub fn trigsel(&mut self) -> TrigselW<'_, Dac0cfg1Spec>

Bits 12:14 - Selects one of the eight external trigger sources for DAC0

source

pub fn datmod(&mut self) -> DatmodW<'_, Dac0cfg1Spec>

Bit 15 - Switch between independent or simultaneous DAC mode and select the input data register for DAC0 and DAC1

source

pub fn swtrig(&mut self) -> SwtrigW<'_, Dac0cfg1Spec>

Bit 16 - Software Trigger

source

pub fn trigmod(&mut self) -> TrigmodW<'_, Dac0cfg1Spec>

Bits 17:18 - Select the trigger source for channel 0

source

pub fn anacfg(&mut self) -> AnacfgW<'_, Dac0cfg1Spec>

Bits 19:23 - DAC0 analog configuration/calibration parameters

source

pub fn anaen(&mut self) -> AnaenW<'_, Dac0cfg1Spec>

Bit 24 - Enable analog DAC for channel 0

source

pub fn refcfgl(&mut self) -> RefcfglW<'_, Dac0cfg1Spec>

Bits 28:31 - Lower 4 band-gap configuration/calibration parameters