Type Alias atsame54n::dac::dacctrl::OSR_W

source ·
pub type OSR_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 3, O, OSRSELECT_A>;
Expand description

Field OSR writer - Sampling Rate

Aliased Type§

struct OSR_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> OSR_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn osr_1(self) -> &'a mut W<REG>

No Over Sampling

source

pub fn osr_2(self) -> &'a mut W<REG>

2x Over Sampling Ratio

source

pub fn osr_4(self) -> &'a mut W<REG>

4x Over Sampling Ratio

source

pub fn osr_8(self) -> &'a mut W<REG>

8x Over Sampling Ratio

source

pub fn osr_16(self) -> &'a mut W<REG>

16x Over Sampling Ratio

source

pub fn osr_32(self) -> &'a mut W<REG>

32x Over Sampling Ratio