#[repr(u8)]
pub enum RES_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
impl Copy for RES_A
impl StructuralPartialEq for RES_A
Auto Trait Implementations
impl RefUnwindSafe for RES_A
impl Send for RES_A
impl Sync for RES_A
impl Unpin for RES_A
impl UnwindSafe for RES_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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