Enum atsaml21e16b::adc::avgctrl::SAMPLENUMSELECT_A
source · #[repr(u8)]
pub enum SAMPLENUMSELECT_A {
_1,
_2,
_4,
_8,
_16,
_32,
_64,
_128,
_256,
_512,
_1024,
}
Expand description
Number of Samples to be Collected
Value on reset: 0
Variants§
_1
0: 1 sample
_2
1: 2 samples
_4
2: 4 samples
_8
3: 8 samples
_16
4: 16 samples
_32
5: 32 samples
_64
6: 64 samples
_128
7: 128 samples
_256
8: 256 samples
_512
9: 512 samples
_1024
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.