Type Alias xmc4800::dac::dac1cfg1::R

source ·
pub type R = R<Dac1cfg1Spec>;
Expand description

Register DAC1CFG1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn scale(&self) -> ScaleR

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

source

pub fn muldiv(&self) -> MuldivR

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

source

pub fn offs(&self) -> OffsR

Bits 4:11 - 8-bit offset value addition

source

pub fn trigsel(&self) -> TrigselR

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

source

pub fn swtrig(&self) -> SwtrigR

Bit 16 - Software Trigger

source

pub fn trigmod(&self) -> TrigmodR

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

source

pub fn anacfg(&self) -> AnacfgR

Bits 19:23 - DAC1 analog configuration/calibration parameters

source

pub fn anaen(&self) -> AnaenR

Bit 24 - Enable analog DAC for channel 1

source

pub fn refcfgh(&self) -> RefcfghR

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