#[repr(u8)]pub enum Refselselect {
Vrefpu = 0,
Vddana = 1,
Vrefpb = 2,
Intref = 3,
}
Expand description
Reference Selection for DAC0/1
Value on reset: 1
Variants§
Vrefpu = 0
0: External reference unbuffered
Vddana = 1
1: Analog supply
Vrefpb = 2
2: External reference buffered
Intref = 3
3: Internal bandgap reference
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 From<Refselselect> for u8
impl From<Refselselect> for u8
Source§fn from(variant: Refselselect) -> Self
fn from(variant: Refselselect) -> Self
Converts to this type from the input type.
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