Enum atsamd_hal::adc::Resolution
source · [−]pub enum Resolution {
_12BIT,
_16BIT,
_10BIT,
_8BIT,
}
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: 12-bit result
_16BIT
1: For averaging mode output
_10BIT
2: 10-bit result
_8BIT
3: 8-bit result
Trait Implementations
impl Copy for RESSEL_A
impl StructuralPartialEq for RESSEL_A
Auto Trait Implementations
impl RefUnwindSafe for RESSEL_A
impl Send for RESSEL_A
impl Sync for RESSEL_A
impl Unpin for RESSEL_A
impl UnwindSafe for RESSEL_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