Enum d1_pac::tve_top::tve_dac_cfg1::REF1_SEL_A
source · #[repr(u8)]pub enum REF1_SEL_A {
Show 16 variants
_0_50_V = 0,
_0_55_V = 1,
_0_60_V = 2,
_0_65_V = 3,
_0_70_V = 4,
_0_75_V = 5,
_0_80_V = 6,
_0_85_V = 7,
_0_90_V = 8,
_0_95_V = 9,
_1_00_V = 10,
_1_05_V = 11,
_1_10_V = 12,
_1_15_V = 13,
_1_20_V = 14,
_1_25_V = 15,
}
Expand description
(a_refslct1[3:0])
The reference voltage is used for hot plug detect function.
Value on reset: 10
Variants§
_0_50_V = 0
0: 0.50 V
_0_55_V = 1
1: 0.55 V
_0_60_V = 2
2: 0.60 V
_0_65_V = 3
3: 0.65 V
_0_70_V = 4
4: 0.70 V
_0_75_V = 5
5: 0.75 V
_0_80_V = 6
6: 0.80 V
_0_85_V = 7
7: 0.85 V
_0_90_V = 8
8: 0.90 V
_0_95_V = 9
9: 0.95 V
_1_00_V = 10
10: 1.00 V
_1_05_V = 11
11: 1.05 V
_1_10_V = 12
12: 1.10 V
_1_15_V = 13
13: 1.15 V
_1_20_V = 14
14: 1.20 V
_1_25_V = 15
15: 1.25 V
Trait Implementations§
source§impl Clone for REF1_SEL_A
impl Clone for REF1_SEL_A
source§fn clone(&self) -> REF1_SEL_A
fn clone(&self) -> REF1_SEL_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 REF1_SEL_A
impl Debug for REF1_SEL_A
source§impl From<REF1_SEL_A> for u8
impl From<REF1_SEL_A> for u8
source§fn from(variant: REF1_SEL_A) -> Self
fn from(variant: REF1_SEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for REF1_SEL_A
impl PartialEq for REF1_SEL_A
impl Copy for REF1_SEL_A
impl Eq for REF1_SEL_A
impl StructuralPartialEq for REF1_SEL_A
Auto Trait Implementations§
impl Freeze for REF1_SEL_A
impl RefUnwindSafe for REF1_SEL_A
impl Send for REF1_SEL_A
impl Sync for REF1_SEL_A
impl Unpin for REF1_SEL_A
impl UnwindSafe for REF1_SEL_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)