pub type W = W<Dac1cfg1Spec>;
Expand description
Register DAC1CFG1
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn scale(&mut self) -> ScaleW<'_, Dac1cfg1Spec>
pub fn scale(&mut self) -> ScaleW<'_, Dac1cfg1Spec>
Bits 0:2 - Scale value for up- or downscale of the DAC1 input data in steps by the power of 2 (=shift operation)
sourcepub fn muldiv(&mut self) -> MuldivW<'_, Dac1cfg1Spec>
pub fn muldiv(&mut self) -> MuldivW<'_, Dac1cfg1Spec>
Bit 3 - Switch between up- and downscale of the DAC1 input data values
sourcepub fn offs(&mut self) -> OffsW<'_, Dac1cfg1Spec>
pub fn offs(&mut self) -> OffsW<'_, Dac1cfg1Spec>
Bits 4:11 - 8-bit offset value addition
sourcepub fn trigsel(&mut self) -> TrigselW<'_, Dac1cfg1Spec>
pub fn trigsel(&mut self) -> TrigselW<'_, Dac1cfg1Spec>
Bits 12:14 - Selects one of the eight external trigger sources for DAC1
sourcepub fn swtrig(&mut self) -> SwtrigW<'_, Dac1cfg1Spec>
pub fn swtrig(&mut self) -> SwtrigW<'_, Dac1cfg1Spec>
Bit 16 - Software Trigger
sourcepub fn trigmod(&mut self) -> TrigmodW<'_, Dac1cfg1Spec>
pub fn trigmod(&mut self) -> TrigmodW<'_, Dac1cfg1Spec>
Bits 17:18 - Select the trigger source for channel 1
sourcepub fn anacfg(&mut self) -> AnacfgW<'_, Dac1cfg1Spec>
pub fn anacfg(&mut self) -> AnacfgW<'_, Dac1cfg1Spec>
Bits 19:23 - DAC1 analog configuration/calibration parameters
sourcepub fn anaen(&mut self) -> AnaenW<'_, Dac1cfg1Spec>
pub fn anaen(&mut self) -> AnaenW<'_, Dac1cfg1Spec>
Bit 24 - Enable analog DAC for channel 1
sourcepub fn refcfgh(&mut self) -> RefcfghW<'_, Dac1cfg1Spec>
pub fn refcfgh(&mut self) -> RefcfghW<'_, Dac1cfg1Spec>
Bits 28:31 - Higher 4 band-gap configuration/calibration parameters