Type Alias R

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

Register DACCTRL[%s] reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn leftadj(&self) -> LeftadjR

Bit 0 - Left Adjusted Data

Source

pub fn enable(&self) -> EnableR

Bit 1 - Enable DAC0

Source

pub fn cctrl(&self) -> CctrlR

Bits 2:3 - Current Control

Source

pub fn fext(&self) -> FextR

Bit 5 - Standalone Filter

Source

pub fn runstdby(&self) -> RunstdbyR

Bit 6 - Run in Standby

Source

pub fn dither(&self) -> DitherR

Bit 7 - Dithering Mode

Source

pub fn refresh(&self) -> RefreshR

Bits 8:11 - Refresh period

Source

pub fn osr(&self) -> OsrR

Bits 13:15 - Sampling Rate