Type Alias xmc4800::dac::dac0cfg1::R

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

Register DAC0CFG1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn scale(&self) -> SCALE_R

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

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

source

pub fn offs(&self) -> OFFS_R

Bits 4:11 - 8-bit offset value addition

source

pub fn trigsel(&self) -> TRIGSEL_R

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

source

pub fn datmod(&self) -> DATMOD_R

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

source

pub fn swtrig(&self) -> SWTRIG_R

Bit 16 - Software Trigger

source

pub fn trigmod(&self) -> TRIGMOD_R

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

source

pub fn anacfg(&self) -> ANACFG_R

Bits 19:23 - DAC0 analog configuration/calibration parameters

source

pub fn anaen(&self) -> ANAEN_R

Bit 24 - Enable analog DAC for channel 0

source

pub fn refcfgl(&self) -> REFCFGL_R

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