pub type W = W<DACCTRL_SPEC>;
Expand description
Register DACCTRL[%s]
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn leftadj(&mut self) -> LEFTADJ_W<'_, DACCTRL_SPEC, 0>
pub fn leftadj(&mut self) -> LEFTADJ_W<'_, DACCTRL_SPEC, 0>
Bit 0 - Left Adjusted Data
sourcepub fn enable(&mut self) -> ENABLE_W<'_, DACCTRL_SPEC, 1>
pub fn enable(&mut self) -> ENABLE_W<'_, DACCTRL_SPEC, 1>
Bit 1 - Enable DAC0
sourcepub fn cctrl(&mut self) -> CCTRL_W<'_, DACCTRL_SPEC, 2>
pub fn cctrl(&mut self) -> CCTRL_W<'_, DACCTRL_SPEC, 2>
Bits 2:3 - Current Control
sourcepub fn fext(&mut self) -> FEXT_W<'_, DACCTRL_SPEC, 5>
pub fn fext(&mut self) -> FEXT_W<'_, DACCTRL_SPEC, 5>
Bit 5 - Standalone Filter
sourcepub fn runstdby(&mut self) -> RUNSTDBY_W<'_, DACCTRL_SPEC, 6>
pub fn runstdby(&mut self) -> RUNSTDBY_W<'_, DACCTRL_SPEC, 6>
Bit 6 - Run in Standby
sourcepub fn dither(&mut self) -> DITHER_W<'_, DACCTRL_SPEC, 7>
pub fn dither(&mut self) -> DITHER_W<'_, DACCTRL_SPEC, 7>
Bit 7 - Dithering Mode
sourcepub fn refresh(&mut self) -> REFRESH_W<'_, DACCTRL_SPEC, 8>
pub fn refresh(&mut self) -> REFRESH_W<'_, DACCTRL_SPEC, 8>
Bits 8:11 - Refresh period
sourcepub fn osr(&mut self) -> OSR_W<'_, DACCTRL_SPEC, 13>
pub fn osr(&mut self) -> OSR_W<'_, DACCTRL_SPEC, 13>
Bits 13:15 - Sampling Rate