#[repr(u8)]pub enum Reference {
Intref = 0,
Intvcc0 = 2,
Intvcc1 = 3,
Arefa = 4,
Arefb = 5,
Arefc = 6,
}
Expand description
Reference voltage (or its source) 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 A
Arefb = 5
5: External Reference B
Arefc = 6
6: External Reference C (only on ADC1)
Trait Implementations§
Source§impl Clone for Refselselect
impl Clone for Refselselect
Source§fn clone(&self) -> Refselselect
fn clone(&self) -> Refselselect
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
impl Debug for Refselselect
Source§impl PartialEq for Refselselect
impl PartialEq for Refselselect
impl Copy for Refselselect
impl Eq for Refselselect
impl IsEnum for Refselselect
impl StructuralPartialEq for Refselselect
Auto Trait Implementations§
impl Freeze for Refselselect
impl RefUnwindSafe for Refselselect
impl Send for Refselselect
impl Sync for Refselselect
impl Unpin for Refselselect
impl UnwindSafe for Refselselect
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