#[repr(u8)]pub enum Usb1VbusDetectClrVbusvalidToSessvalid {
VALUE0 = 0,
VALUE1 = 1,
}Variants§
VALUE0 = 0
Use the VBUS_VALID comparator for VBUS_VALID results
VALUE1 = 1
Use the Session End comparator for VBUS_VALID results. The Session End threshold is >0.8V and <4.0V.
Implementations§
Trait Implementations§
Source§impl Clone for Usb1VbusDetectClrVbusvalidToSessvalid
impl Clone for Usb1VbusDetectClrVbusvalidToSessvalid
Source§fn clone(&self) -> Usb1VbusDetectClrVbusvalidToSessvalid
fn clone(&self) -> Usb1VbusDetectClrVbusvalidToSessvalid
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 From<Usb1VbusDetectClrVbusvalidToSessvalid> for u8
impl From<Usb1VbusDetectClrVbusvalidToSessvalid> for u8
Source§fn from(val: Usb1VbusDetectClrVbusvalidToSessvalid) -> u8
fn from(val: Usb1VbusDetectClrVbusvalidToSessvalid) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectClrVbusvalidToSessvalid
impl From<u8> for Usb1VbusDetectClrVbusvalidToSessvalid
Source§fn from(val: u8) -> Usb1VbusDetectClrVbusvalidToSessvalid
fn from(val: u8) -> Usb1VbusDetectClrVbusvalidToSessvalid
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectClrVbusvalidToSessvalid
impl Ord for Usb1VbusDetectClrVbusvalidToSessvalid
Source§fn cmp(&self, other: &Usb1VbusDetectClrVbusvalidToSessvalid) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectClrVbusvalidToSessvalid) -> 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 Usb1VbusDetectClrVbusvalidToSessvalid
impl PartialEq for Usb1VbusDetectClrVbusvalidToSessvalid
Source§fn eq(&self, other: &Usb1VbusDetectClrVbusvalidToSessvalid) -> bool
fn eq(&self, other: &Usb1VbusDetectClrVbusvalidToSessvalid) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Usb1VbusDetectClrVbusvalidToSessvalid
impl PartialOrd for Usb1VbusDetectClrVbusvalidToSessvalid
impl Copy for Usb1VbusDetectClrVbusvalidToSessvalid
impl Eq for Usb1VbusDetectClrVbusvalidToSessvalid
impl StructuralPartialEq for Usb1VbusDetectClrVbusvalidToSessvalid
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectClrVbusvalidToSessvalid
impl RefUnwindSafe for Usb1VbusDetectClrVbusvalidToSessvalid
impl Send for Usb1VbusDetectClrVbusvalidToSessvalid
impl Sync for Usb1VbusDetectClrVbusvalidToSessvalid
impl Unpin for Usb1VbusDetectClrVbusvalidToSessvalid
impl UnwindSafe for Usb1VbusDetectClrVbusvalidToSessvalid
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