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