Type Alias atsame54n::adc0::avgctrl::SAMPLENUM_W

source ·
pub type SAMPLENUM_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 4, O, SAMPLENUMSELECT_A>;
Expand description

Field SAMPLENUM writer - Number of Samples to be Collected

Aliased Type§

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

Implementations§

source§

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

source

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

1 sample

source

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

2 samples

source

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

4 samples

source

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

8 samples

source

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

16 samples

source

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

32 samples

source

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

64 samples

source

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

128 samples

source

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

256 samples

source

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

512 samples

source

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

1024 samples