Enum atsame70n21b::afec0::emr::RESSELECT_A
source · [−]#[repr(u8)]
pub enum RESSELECT_A {
NO_AVERAGE,
OSR4,
OSR16,
OSR64,
OSR256,
}
Expand description
Resolution
Value on reset: 0
Variants
NO_AVERAGE
0: 12-bit resolution, AFE sample rate is maximum (no averaging).
OSR4
2: 13-bit resolution, AFE sample rate divided by 4 (averaging).
OSR16
3: 14-bit resolution, AFE sample rate divided by 16 (averaging).
OSR64
4: 15-bit resolution, AFE sample rate divided by 64 (averaging).
OSR256
5: 16-bit resolution, AFE sample rate divided by 256 (averaging).
Trait Implementations
sourceimpl Clone for RESSELECT_A
impl Clone for RESSELECT_A
sourcefn clone(&self) -> RESSELECT_A
fn clone(&self) -> RESSELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RESSELECT_A
impl Debug for RESSELECT_A
sourceimpl From<RESSELECT_A> for u8
impl From<RESSELECT_A> for u8
sourcefn from(variant: RESSELECT_A) -> Self
fn from(variant: RESSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RESSELECT_A> for RESSELECT_A
impl PartialEq<RESSELECT_A> for RESSELECT_A
sourcefn eq(&self, other: &RESSELECT_A) -> bool
fn eq(&self, other: &RESSELECT_A) -> bool
impl Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more