#[repr(u8)]pub enum Usb1VbusDetectPwrupCmps {
VALUE0 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
VALUE1 = 7,
}Variants§
VALUE0 = 0
Powers down the VBUS_VALID comparator
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
VALUE1 = 7
Enables the VBUS_VALID comparator (default)
Implementations§
Trait Implementations§
Source§impl Clone for Usb1VbusDetectPwrupCmps
impl Clone for Usb1VbusDetectPwrupCmps
Source§fn clone(&self) -> Usb1VbusDetectPwrupCmps
fn clone(&self) -> Usb1VbusDetectPwrupCmps
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 Usb1VbusDetectPwrupCmps
impl Debug for Usb1VbusDetectPwrupCmps
Source§impl From<Usb1VbusDetectPwrupCmps> for u8
impl From<Usb1VbusDetectPwrupCmps> for u8
Source§fn from(val: Usb1VbusDetectPwrupCmps) -> u8
fn from(val: Usb1VbusDetectPwrupCmps) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectPwrupCmps
impl From<u8> for Usb1VbusDetectPwrupCmps
Source§fn from(val: u8) -> Usb1VbusDetectPwrupCmps
fn from(val: u8) -> Usb1VbusDetectPwrupCmps
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectPwrupCmps
impl Ord for Usb1VbusDetectPwrupCmps
Source§fn cmp(&self, other: &Usb1VbusDetectPwrupCmps) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectPwrupCmps) -> 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 Usb1VbusDetectPwrupCmps
impl PartialEq for Usb1VbusDetectPwrupCmps
Source§impl PartialOrd for Usb1VbusDetectPwrupCmps
impl PartialOrd for Usb1VbusDetectPwrupCmps
impl Copy for Usb1VbusDetectPwrupCmps
impl Eq for Usb1VbusDetectPwrupCmps
impl StructuralPartialEq for Usb1VbusDetectPwrupCmps
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectPwrupCmps
impl RefUnwindSafe for Usb1VbusDetectPwrupCmps
impl Send for Usb1VbusDetectPwrupCmps
impl Sync for Usb1VbusDetectPwrupCmps
impl Unpin for Usb1VbusDetectPwrupCmps
impl UnwindSafe for Usb1VbusDetectPwrupCmps
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