pub type W = W<DacctrlSpec>;
Expand description
Register DACCTRL[%s]
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn leftadj(&mut self) -> LeftadjW<'_, DacctrlSpec>
pub fn leftadj(&mut self) -> LeftadjW<'_, DacctrlSpec>
Bit 0 - Left Adjusted Data
Sourcepub fn enable(&mut self) -> EnableW<'_, DacctrlSpec>
pub fn enable(&mut self) -> EnableW<'_, DacctrlSpec>
Bit 1 - Enable DAC0
Sourcepub fn cctrl(&mut self) -> CctrlW<'_, DacctrlSpec>
pub fn cctrl(&mut self) -> CctrlW<'_, DacctrlSpec>
Bits 2:3 - Current Control
Sourcepub fn fext(&mut self) -> FextW<'_, DacctrlSpec>
pub fn fext(&mut self) -> FextW<'_, DacctrlSpec>
Bit 5 - Standalone Filter
Sourcepub fn runstdby(&mut self) -> RunstdbyW<'_, DacctrlSpec>
pub fn runstdby(&mut self) -> RunstdbyW<'_, DacctrlSpec>
Bit 6 - Run in Standby
Sourcepub fn dither(&mut self) -> DitherW<'_, DacctrlSpec>
pub fn dither(&mut self) -> DitherW<'_, DacctrlSpec>
Bit 7 - Dithering Mode
Sourcepub fn refresh(&mut self) -> RefreshW<'_, DacctrlSpec>
pub fn refresh(&mut self) -> RefreshW<'_, DacctrlSpec>
Bits 8:11 - Refresh period
Sourcepub fn osr(&mut self) -> OsrW<'_, DacctrlSpec>
pub fn osr(&mut self) -> OsrW<'_, DacctrlSpec>
Bits 13:15 - Sampling Rate