Type Alias W

Source
pub type W = W<DacctrlSpec>;
Expand description

Register DACCTRL[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn leftadj(&mut self) -> LeftadjW<'_, DacctrlSpec>

Bit 0 - Left Adjusted Data

Source

pub fn enable(&mut self) -> EnableW<'_, DacctrlSpec>

Bit 1 - Enable DAC0

Source

pub fn cctrl(&mut self) -> CctrlW<'_, DacctrlSpec>

Bits 2:3 - Current Control

Source

pub fn fext(&mut self) -> FextW<'_, DacctrlSpec>

Bit 5 - Standalone Filter

Source

pub fn runstdby(&mut self) -> RunstdbyW<'_, DacctrlSpec>

Bit 6 - Run in Standby

Source

pub fn dither(&mut self) -> DitherW<'_, DacctrlSpec>

Bit 7 - Dithering Mode

Source

pub fn refresh(&mut self) -> RefreshW<'_, DacctrlSpec>

Bits 8:11 - Refresh period

Source

pub fn osr(&mut self) -> OsrW<'_, DacctrlSpec>

Bits 13:15 - Sampling Rate