Type Alias atsamd51p::adc0::avgctrl::SAMPLENUM_R

source ·
pub type SAMPLENUM_R = FieldReader<SAMPLENUMSELECT_A>;
Expand description

Field SAMPLENUM reader - Number of Samples to be Collected

Aliased Type§

struct SAMPLENUM_R { /* private fields */ }

Implementations§

source§

impl SAMPLENUM_R

source

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

Get enumerated values variant

source

pub fn is_1(&self) -> bool

1 sample

source

pub fn is_2(&self) -> bool

2 samples

source

pub fn is_4(&self) -> bool

4 samples

source

pub fn is_8(&self) -> bool

8 samples

source

pub fn is_16(&self) -> bool

16 samples

source

pub fn is_32(&self) -> bool

32 samples

source

pub fn is_64(&self) -> bool

64 samples

source

pub fn is_128(&self) -> bool

128 samples

source

pub fn is_256(&self) -> bool

256 samples

source

pub fn is_512(&self) -> bool

512 samples

source

pub fn is_1024(&self) -> bool

1024 samples