#[repr(u8)]pub enum Resolution {
_12bit = 0,
_16bit = 1,
_10bit = 2,
_8bit = 3,
}
Expand description
Reading resolution in bits
For the resolution of Arduino boards, see the analogueRead docs. Conversion Result Resolution
Value on reset: 0
Variants§
_12bit = 0
0: 12-bit result
_16bit = 1
1: For averaging mode output
_10bit = 2
2: 10-bit result
_8bit = 3
3: 8-bit result
Trait Implementations§
Source§impl Clone for Resselselect
impl Clone for Resselselect
Source§fn clone(&self) -> Resselselect
fn clone(&self) -> Resselselect
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 Resselselect
impl Debug for Resselselect
Source§impl PartialEq for Resselselect
impl PartialEq for Resselselect
impl Copy for Resselselect
impl Eq for Resselselect
impl IsEnum for Resselselect
impl StructuralPartialEq for Resselselect
Auto Trait Implementations§
impl Freeze for Resselselect
impl RefUnwindSafe for Resselselect
impl Send for Resselselect
impl Sync for Resselselect
impl Unpin for Resselselect
impl UnwindSafe for Resselselect
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