Enum xmc4300::usb0::gotgctl::VbvalidOvEn
source · pub enum VbvalidOvEn {
Value1 = 0,
Value2 = 1,
}
Expand description
VBUS Valid Override Enable
Value on reset: 0
Variants§
Value1 = 0
0: Override is disabled and vbus valid signal from the PHY is used internally by the core.
Value2 = 1
1: Internally vbus valid received from the PHY is overridden with GOTGCTL.VbvalidOvVal.
Trait Implementations§
source§impl Clone for VbvalidOvEn
impl Clone for VbvalidOvEn
source§fn clone(&self) -> VbvalidOvEn
fn clone(&self) -> VbvalidOvEn
Returns a copy 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 VbvalidOvEn
impl Debug for VbvalidOvEn
source§impl From<VbvalidOvEn> for bool
impl From<VbvalidOvEn> for bool
source§fn from(variant: VbvalidOvEn) -> Self
fn from(variant: VbvalidOvEn) -> Self
Converts to this type from the input type.
source§impl PartialEq for VbvalidOvEn
impl PartialEq for VbvalidOvEn
source§fn eq(&self, other: &VbvalidOvEn) -> bool
fn eq(&self, other: &VbvalidOvEn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VbvalidOvEn
impl Eq for VbvalidOvEn
impl StructuralPartialEq for VbvalidOvEn
Auto Trait Implementations§
impl RefUnwindSafe for VbvalidOvEn
impl Send for VbvalidOvEn
impl Sync for VbvalidOvEn
impl Unpin for VbvalidOvEn
impl UnwindSafe for VbvalidOvEn
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