#[repr(u8)]pub enum VoltageReference {
AvddAvss = 0,
ExtAvss = 1,
AvddExt = 2,
ExtExt = 3,
}Expand description
Voltage reference configuration
Variants§
AvddAvss = 0
Vrefh = AVDD, Vrefl = AVSS
ExtAvss = 1
Vrefh = external Vref+ pin, Vrefl = AVSS
AvddExt = 2
Vrefh = AVDD, Vrefl = external Vref- pin
ExtExt = 3
Vrefh = external Vref+ pin, Vrefl = external Vref- pin
Trait Implementations§
Source§impl Clone for VoltageReference
impl Clone for VoltageReference
Source§fn clone(&self) -> VoltageReference
fn clone(&self) -> VoltageReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VoltageReference
Auto Trait Implementations§
impl Freeze for VoltageReference
impl RefUnwindSafe for VoltageReference
impl Send for VoltageReference
impl Sync for VoltageReference
impl Unpin for VoltageReference
impl UnsafeUnpin for VoltageReference
impl UnwindSafe for VoltageReference
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