Enum avr_device::atmega4809::vref::ctrla::AC0REFSEL_A
source · #[repr(u8)]pub enum AC0REFSEL_A {
_0V55 = 0,
_1V1 = 1,
_2V5 = 2,
_4V34 = 3,
_1V5 = 4,
AVDD = 7,
}
Expand description
AC0 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
AVDD = 7
7: AVDD
Trait Implementations§
source§impl Clone for AC0REFSEL_A
impl Clone for AC0REFSEL_A
source§fn clone(&self) -> AC0REFSEL_A
fn clone(&self) -> AC0REFSEL_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 AC0REFSEL_A
impl Debug for AC0REFSEL_A
source§impl From<AC0REFSEL_A> for u8
impl From<AC0REFSEL_A> for u8
source§fn from(variant: AC0REFSEL_A) -> Self
fn from(variant: AC0REFSEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for AC0REFSEL_A
impl PartialEq for AC0REFSEL_A
impl Copy for AC0REFSEL_A
impl Eq for AC0REFSEL_A
impl StructuralPartialEq for AC0REFSEL_A
Auto Trait Implementations§
impl Freeze for AC0REFSEL_A
impl RefUnwindSafe for AC0REFSEL_A
impl Send for AC0REFSEL_A
impl Sync for AC0REFSEL_A
impl Unpin for AC0REFSEL_A
impl UnwindSafe for AC0REFSEL_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
)