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
impl Copy for ADC0REFSEL_A
impl Eq for ADC0REFSEL_A
impl StructuralPartialEq for ADC0REFSEL_A
Auto Trait Implementations§
impl Freeze for ADC0REFSEL_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)