#[repr(u8)]pub enum Usb1VbusDetectVbusSourceSel {
VBUS_SOURCE_SEL_0 = 0,
VBUS_SOURCE_SEL_1 = 1,
VBUS_SOURCE_SEL_2 = 2,
_RESERVED_3 = 3,
}Variants§
VBUS_SOURCE_SEL_0 = 0
Use the VBUS_VALID comparator results for signal reported to the USB controller (Default)
VBUS_SOURCE_SEL_1 = 1
Use the Session Valid comparator results for signal reported to the USB controller
VBUS_SOURCE_SEL_2 = 2
Use the Session Valid comparator results for signal reported to the USB controller
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for Usb1VbusDetectVbusSourceSel
impl Clone for Usb1VbusDetectVbusSourceSel
Source§fn clone(&self) -> Usb1VbusDetectVbusSourceSel
fn clone(&self) -> Usb1VbusDetectVbusSourceSel
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 Usb1VbusDetectVbusSourceSel
impl Debug for Usb1VbusDetectVbusSourceSel
Source§impl From<Usb1VbusDetectVbusSourceSel> for u8
impl From<Usb1VbusDetectVbusSourceSel> for u8
Source§fn from(val: Usb1VbusDetectVbusSourceSel) -> u8
fn from(val: Usb1VbusDetectVbusSourceSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectVbusSourceSel
impl From<u8> for Usb1VbusDetectVbusSourceSel
Source§fn from(val: u8) -> Usb1VbusDetectVbusSourceSel
fn from(val: u8) -> Usb1VbusDetectVbusSourceSel
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectVbusSourceSel
impl Ord for Usb1VbusDetectVbusSourceSel
Source§fn cmp(&self, other: &Usb1VbusDetectVbusSourceSel) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectVbusSourceSel) -> 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 PartialOrd for Usb1VbusDetectVbusSourceSel
impl PartialOrd for Usb1VbusDetectVbusSourceSel
impl Copy for Usb1VbusDetectVbusSourceSel
impl Eq for Usb1VbusDetectVbusSourceSel
impl StructuralPartialEq for Usb1VbusDetectVbusSourceSel
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectVbusSourceSel
impl RefUnwindSafe for Usb1VbusDetectVbusSourceSel
impl Send for Usb1VbusDetectVbusSourceSel
impl Sync for Usb1VbusDetectVbusSourceSel
impl Unpin for Usb1VbusDetectVbusSourceSel
impl UnwindSafe for Usb1VbusDetectVbusSourceSel
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