#[repr(u8)]pub enum Resolution {
BITS12 = 0,
BITS10 = 1,
BITS8 = 2,
BITS6 = 3,
}Variants§
BITS12 = 0
12-bit (15 ADCCLK cycles)
BITS10 = 1
10-bit (13 ADCCLK cycles)
BITS8 = 2
8-bit (11 ADCCLK cycles)
BITS6 = 3
6-bit (9 ADCCLK cycles)
Implementations§
Trait Implementations§
impl Copy for Res
impl Eq for Res
Source§impl Ord for Res
impl Ord for Res
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Res
impl PartialOrd for Res
impl StructuralPartialEq for Res
Auto Trait Implementations§
impl Freeze for Res
impl RefUnwindSafe for Res
impl Send for Res
impl Sync for Res
impl Unpin for Res
impl UnsafeUnpin for Res
impl UnwindSafe for Res
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