Enum atsame70n21b::afec0::emr::RESSELECT_A
source · #[repr(u8)]pub enum RESSELECT_A {
NO_AVERAGE = 0,
OSR4 = 2,
OSR16 = 3,
OSR64 = 4,
OSR256 = 5,
}
Expand description
Resolution
Value on reset: 0
Variants§
NO_AVERAGE = 0
0: 12-bit resolution, AFE sample rate is maximum (no averaging).
OSR4 = 2
2: 13-bit resolution, AFE sample rate divided by 4 (averaging).
OSR16 = 3
3: 14-bit resolution, AFE sample rate divided by 16 (averaging).
OSR64 = 4
4: 15-bit resolution, AFE sample rate divided by 64 (averaging).
OSR256 = 5
5: 16-bit resolution, AFE sample rate divided by 256 (averaging).
Trait Implementations§
source§impl Clone for RESSELECT_A
impl Clone for RESSELECT_A
source§fn clone(&self) -> RESSELECT_A
fn clone(&self) -> RESSELECT_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 RESSELECT_A
impl Debug for RESSELECT_A
source§impl From<RESSELECT_A> for u8
impl From<RESSELECT_A> for u8
source§fn from(variant: RESSELECT_A) -> Self
fn from(variant: RESSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RESSELECT_A
impl PartialEq for RESSELECT_A
source§fn eq(&self, other: &RESSELECT_A) -> bool
fn eq(&self, other: &RESSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RESSELECT_A
impl Eq for RESSELECT_A
impl StructuralEq for RESSELECT_A
impl StructuralPartialEq for RESSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for RESSELECT_A
impl Send for RESSELECT_A
impl Sync for RESSELECT_A
impl Unpin for RESSELECT_A
impl UnwindSafe for RESSELECT_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