atsamd51p::dac::dacctrl

Type Alias OsrR

Source
pub type OsrR = FieldReader<Osrselect>;
Expand description

Field OSR reader - Sampling Rate

Aliased Type§

struct OsrR { /* private fields */ }

Implementations§

Source§

impl OsrR

Source

pub const fn variant(&self) -> Option<Osrselect>

Get enumerated values variant

Source

pub fn is_osr_1(&self) -> bool

No Over Sampling

Source

pub fn is_osr_2(&self) -> bool

2x Over Sampling Ratio

Source

pub fn is_osr_4(&self) -> bool

4x Over Sampling Ratio

Source

pub fn is_osr_8(&self) -> bool

8x Over Sampling Ratio

Source

pub fn is_osr_16(&self) -> bool

16x Over Sampling Ratio

Source

pub fn is_osr_32(&self) -> bool

32x Over Sampling Ratio