#[repr(u8)]pub enum Vddio2range {
VDDIO_2RANGE_0 = 0,
VDDIO_2RANGE_1 = 1,
VDDIO_2RANGE_2 = 2,
VDDIO_2RANGE_3 = 3,
}Variants§
VDDIO_2RANGE_0 = 0
1.71 - 3.6V. Consumes static current to detect VDDE2 level
VDDIO_2RANGE_1 = 1
1.71 - 1.98V, vdde detector off
VDDIO_2RANGE_2 = 2
3.00 - 3.6V, vdde detector off
VDDIO_2RANGE_3 = 3
Not allowed (hardware should translate to 10)
Implementations§
Source§impl Vddio2range
impl Vddio2range
Trait Implementations§
Source§impl Clone for Vddio2range
impl Clone for Vddio2range
Source§fn clone(&self) -> Vddio2range
fn clone(&self) -> Vddio2range
Returns a duplicate 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 Vddio2range
impl Debug for Vddio2range
Source§impl From<Vddio2range> for u8
impl From<Vddio2range> for u8
Source§fn from(val: Vddio2range) -> u8
fn from(val: Vddio2range) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Vddio2range
impl From<u8> for Vddio2range
Source§fn from(val: u8) -> Vddio2range
fn from(val: u8) -> Vddio2range
Converts to this type from the input type.
Source§impl Ord for Vddio2range
impl Ord for Vddio2range
Source§fn cmp(&self, other: &Vddio2range) -> Ordering
fn cmp(&self, other: &Vddio2range) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Vddio2range
impl PartialEq for Vddio2range
Source§impl PartialOrd for Vddio2range
impl PartialOrd for Vddio2range
impl Copy for Vddio2range
impl Eq for Vddio2range
impl StructuralPartialEq for Vddio2range
Auto Trait Implementations§
impl Freeze for Vddio2range
impl RefUnwindSafe for Vddio2range
impl Send for Vddio2range
impl Sync for Vddio2range
impl Unpin for Vddio2range
impl UnwindSafe for Vddio2range
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