Enum atsamd51p::adc0::refctrl::REFSELSELECT_A
source · #[repr(u8)]pub enum REFSELSELECT_A {
INTREF = 0,
INTVCC0 = 2,
INTVCC1 = 3,
AREFA = 4,
AREFB = 5,
AREFC = 6,
}
Expand description
Reference Selection
Value on reset: 0
Variants§
INTREF = 0
0: Internal Bandgap Reference
INTVCC0 = 2
2: 1/2 VDDANA
INTVCC1 = 3
3: VDDANA
AREFA = 4
4: External Reference
AREFB = 5
5: External Reference
AREFC = 6
6: External Reference (only on ADC1)
Trait Implementations§
source§impl Clone for REFSELSELECT_A
impl Clone for REFSELSELECT_A
source§fn clone(&self) -> REFSELSELECT_A
fn clone(&self) -> REFSELSELECT_A
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 REFSELSELECT_A
impl Debug for REFSELSELECT_A
source§impl From<REFSELSELECT_A> for u8
impl From<REFSELSELECT_A> for u8
source§fn from(variant: REFSELSELECT_A) -> Self
fn from(variant: REFSELSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for REFSELSELECT_A
impl PartialEq for REFSELSELECT_A
source§fn eq(&self, other: &REFSELSELECT_A) -> bool
fn eq(&self, other: &REFSELSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for REFSELSELECT_A
impl Eq for REFSELSELECT_A
impl StructuralPartialEq for REFSELSELECT_A
Auto Trait Implementations§
impl Freeze for REFSELSELECT_A
impl RefUnwindSafe for REFSELSELECT_A
impl Send for REFSELSELECT_A
impl Sync for REFSELSELECT_A
impl Unpin for REFSELSELECT_A
impl UnwindSafe for REFSELSELECT_A
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