Type Alias atsame54n::dac::dacctrl::R

source ·
pub type R = R<DACCTRL_SPEC>;
Expand description

Register DACCTRL[%s] reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn leftadj(&self) -> LEFTADJ_R

Bit 0 - Left Adjusted Data

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable DAC0

source

pub fn cctrl(&self) -> CCTRL_R

Bits 2:3 - Current Control

source

pub fn fext(&self) -> FEXT_R

Bit 5 - Standalone Filter

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 6 - Run in Standby

source

pub fn dither(&self) -> DITHER_R

Bit 7 - Dithering Mode

source

pub fn refresh(&self) -> REFRESH_R

Bits 8:11 - Refresh period

source

pub fn osr(&self) -> OSR_R

Bits 13:15 - Sampling Rate