pub type W = W<DAC0CFG1_SPEC>;
Expand description
Register DAC0CFG1
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn scale(&mut self) -> SCALE_W<'_, DAC0CFG1_SPEC>
pub fn scale(&mut self) -> SCALE_W<'_, DAC0CFG1_SPEC>
Bits 0:2 - Scale value for up- or downscale of the DAC0 input data in steps by the power of 2 (=shift operation)
sourcepub fn muldiv(&mut self) -> MULDIV_W<'_, DAC0CFG1_SPEC>
pub fn muldiv(&mut self) -> MULDIV_W<'_, DAC0CFG1_SPEC>
Bit 3 - Switch between up- and downscale of the DAC0 input data values
sourcepub fn offs(&mut self) -> OFFS_W<'_, DAC0CFG1_SPEC>
pub fn offs(&mut self) -> OFFS_W<'_, DAC0CFG1_SPEC>
Bits 4:11 - 8-bit offset value addition
sourcepub fn trigsel(&mut self) -> TRIGSEL_W<'_, DAC0CFG1_SPEC>
pub fn trigsel(&mut self) -> TRIGSEL_W<'_, DAC0CFG1_SPEC>
Bits 12:14 - Selects one of the eight external trigger sources for DAC0
sourcepub fn datmod(&mut self) -> DATMOD_W<'_, DAC0CFG1_SPEC>
pub fn datmod(&mut self) -> DATMOD_W<'_, DAC0CFG1_SPEC>
Bit 15 - Switch between independent or simultaneous DAC mode and select the input data register for DAC0 and DAC1
sourcepub fn swtrig(&mut self) -> SWTRIG_W<'_, DAC0CFG1_SPEC>
pub fn swtrig(&mut self) -> SWTRIG_W<'_, DAC0CFG1_SPEC>
Bit 16 - Software Trigger
sourcepub fn trigmod(&mut self) -> TRIGMOD_W<'_, DAC0CFG1_SPEC>
pub fn trigmod(&mut self) -> TRIGMOD_W<'_, DAC0CFG1_SPEC>
Bits 17:18 - Select the trigger source for channel 0
sourcepub fn anacfg(&mut self) -> ANACFG_W<'_, DAC0CFG1_SPEC>
pub fn anacfg(&mut self) -> ANACFG_W<'_, DAC0CFG1_SPEC>
Bits 19:23 - DAC0 analog configuration/calibration parameters
sourcepub fn anaen(&mut self) -> ANAEN_W<'_, DAC0CFG1_SPEC>
pub fn anaen(&mut self) -> ANAEN_W<'_, DAC0CFG1_SPEC>
Bit 24 - Enable analog DAC for channel 0
sourcepub fn refcfgl(&mut self) -> REFCFGL_W<'_, DAC0CFG1_SPEC>
pub fn refcfgl(&mut self) -> REFCFGL_W<'_, DAC0CFG1_SPEC>
Bits 28:31 - Lower 4 band-gap configuration/calibration parameters