Enum atsamd51p::adc0::avgctrl::SAMPLENUMSELECT_A
source · #[repr(u8)]pub enum SAMPLENUMSELECT_A {
_1 = 0,
_2 = 1,
_4 = 2,
_8 = 3,
_16 = 4,
_32 = 5,
_64 = 6,
_128 = 7,
_256 = 8,
_512 = 9,
_1024 = 10,
}
Expand description
Number of Samples to be Collected
Value on reset: 0
Variants§
_1 = 0
0: 1 sample
_2 = 1
1: 2 samples
_4 = 2
2: 4 samples
_8 = 3
3: 8 samples
_16 = 4
4: 16 samples
_32 = 5
5: 32 samples
_64 = 6
6: 64 samples
_128 = 7
7: 128 samples
_256 = 8
8: 256 samples
_512 = 9
9: 512 samples
_1024 = 10
10: 1024 samples
Trait Implementations§
source§impl Clone for SAMPLENUMSELECT_A
impl Clone for SAMPLENUMSELECT_A
source§fn clone(&self) -> SAMPLENUMSELECT_A
fn clone(&self) -> SAMPLENUMSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SAMPLENUMSELECT_A
impl Debug for SAMPLENUMSELECT_A
source§impl From<SAMPLENUMSELECT_A> for u8
impl From<SAMPLENUMSELECT_A> for u8
source§fn from(variant: SAMPLENUMSELECT_A) -> Self
fn from(variant: SAMPLENUMSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SAMPLENUMSELECT_A
impl PartialEq for SAMPLENUMSELECT_A
source§fn eq(&self, other: &SAMPLENUMSELECT_A) -> bool
fn eq(&self, other: &SAMPLENUMSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SAMPLENUMSELECT_A
impl Eq for SAMPLENUMSELECT_A
impl StructuralPartialEq for SAMPLENUMSELECT_A
Auto Trait Implementations§
impl Freeze for SAMPLENUMSELECT_A
impl RefUnwindSafe for SAMPLENUMSELECT_A
impl Send for SAMPLENUMSELECT_A
impl Sync for SAMPLENUMSELECT_A
impl Unpin for SAMPLENUMSELECT_A
impl UnwindSafe for SAMPLENUMSELECT_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more