Enum avr_device::atmega4809::vref::ctrla::ADC0REFSEL_A
source · #[repr(u8)]pub enum ADC0REFSEL_A {
_0V55 = 0,
_1V1 = 1,
_2V5 = 2,
_4V34 = 3,
_1V5 = 4,
}
Expand description
ADC0 reference select
Value on reset: 0
Variants§
_0V55 = 0
0: Voltage reference at 0.55V
_1V1 = 1
1: Voltage reference at 1.1V
_2V5 = 2
2: Voltage reference at 2.5V
_4V34 = 3
3: Voltage reference at 4.34V
_1V5 = 4
4: Voltage reference at 1.5V
Trait Implementations§
source§impl Clone for ADC0REFSEL_A
impl Clone for ADC0REFSEL_A
source§fn clone(&self) -> ADC0REFSEL_A
fn clone(&self) -> ADC0REFSEL_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 ADC0REFSEL_A
impl Debug for ADC0REFSEL_A
source§impl From<ADC0REFSEL_A> for u8
impl From<ADC0REFSEL_A> for u8
source§fn from(variant: ADC0REFSEL_A) -> Self
fn from(variant: ADC0REFSEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for ADC0REFSEL_A
impl PartialEq for ADC0REFSEL_A
source§fn eq(&self, other: &ADC0REFSEL_A) -> bool
fn eq(&self, other: &ADC0REFSEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ADC0REFSEL_A
impl Eq for ADC0REFSEL_A
impl StructuralPartialEq for ADC0REFSEL_A
Auto Trait Implementations§
impl RefUnwindSafe for ADC0REFSEL_A
impl Send for ADC0REFSEL_A
impl Sync for ADC0REFSEL_A
impl Unpin for ADC0REFSEL_A
impl UnwindSafe for ADC0REFSEL_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