#[repr(u8)]pub enum Usb1VbusDetectClrPwrupCmps {
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 Usb1VbusDetectClrPwrupCmps
impl Clone for Usb1VbusDetectClrPwrupCmps
Source§fn clone(&self) -> Usb1VbusDetectClrPwrupCmps
fn clone(&self) -> Usb1VbusDetectClrPwrupCmps
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 Usb1VbusDetectClrPwrupCmps
impl Debug for Usb1VbusDetectClrPwrupCmps
Source§impl From<Usb1VbusDetectClrPwrupCmps> for u8
impl From<Usb1VbusDetectClrPwrupCmps> for u8
Source§fn from(val: Usb1VbusDetectClrPwrupCmps) -> u8
fn from(val: Usb1VbusDetectClrPwrupCmps) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1VbusDetectClrPwrupCmps
impl From<u8> for Usb1VbusDetectClrPwrupCmps
Source§fn from(val: u8) -> Usb1VbusDetectClrPwrupCmps
fn from(val: u8) -> Usb1VbusDetectClrPwrupCmps
Converts to this type from the input type.
Source§impl Ord for Usb1VbusDetectClrPwrupCmps
impl Ord for Usb1VbusDetectClrPwrupCmps
Source§fn cmp(&self, other: &Usb1VbusDetectClrPwrupCmps) -> Ordering
fn cmp(&self, other: &Usb1VbusDetectClrPwrupCmps) -> 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 Usb1VbusDetectClrPwrupCmps
impl PartialOrd for Usb1VbusDetectClrPwrupCmps
impl Copy for Usb1VbusDetectClrPwrupCmps
impl Eq for Usb1VbusDetectClrPwrupCmps
impl StructuralPartialEq for Usb1VbusDetectClrPwrupCmps
Auto Trait Implementations§
impl Freeze for Usb1VbusDetectClrPwrupCmps
impl RefUnwindSafe for Usb1VbusDetectClrPwrupCmps
impl Send for Usb1VbusDetectClrPwrupCmps
impl Sync for Usb1VbusDetectClrPwrupCmps
impl Unpin for Usb1VbusDetectClrPwrupCmps
impl UnwindSafe for Usb1VbusDetectClrPwrupCmps
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