Enum Eusb2fslsdiscdetectiondis
#[repr(u8)]pub enum Eusb2fslsdiscdetectiondis {
Enablefix = 0,
Disablefix = 1,
}Variants§
Enablefix = 0
Host controller detects FS/LS disconnect using utmi_hostdisconnect signal.
Disablefix = 1
Host controller detects disconnect by monitoring 2.5us of SE0 on DP/DM.
Implementations§
§impl Eusb2fslsdiscdetectiondis
impl Eusb2fslsdiscdetectiondis
pub const fn from_bits(val: u8) -> Eusb2fslsdiscdetectiondis
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Eusb2fslsdiscdetectiondis
impl Clone for Eusb2fslsdiscdetectiondis
§fn clone(&self) -> Eusb2fslsdiscdetectiondis
fn clone(&self) -> Eusb2fslsdiscdetectiondis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Eusb2fslsdiscdetectiondis
impl Eq for Eusb2fslsdiscdetectiondis
§impl From<u8> for Eusb2fslsdiscdetectiondis
impl From<u8> for Eusb2fslsdiscdetectiondis
§fn from(val: u8) -> Eusb2fslsdiscdetectiondis
fn from(val: u8) -> Eusb2fslsdiscdetectiondis
Converts to this type from the input type.
§impl Ord for Eusb2fslsdiscdetectiondis
impl Ord for Eusb2fslsdiscdetectiondis
§fn cmp(&self, other: &Eusb2fslsdiscdetectiondis) -> Ordering
fn cmp(&self, other: &Eusb2fslsdiscdetectiondis) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Eusb2fslsdiscdetectiondis
impl PartialEq for Eusb2fslsdiscdetectiondis
§impl PartialOrd for Eusb2fslsdiscdetectiondis
impl PartialOrd for Eusb2fslsdiscdetectiondis
impl StructuralPartialEq for Eusb2fslsdiscdetectiondis
Auto Trait Implementations§
impl Forget for Eusb2fslsdiscdetectiondis
impl Freeze for Eusb2fslsdiscdetectiondis
impl Move for Eusb2fslsdiscdetectiondis
impl RefUnwindSafe for Eusb2fslsdiscdetectiondis
impl Send for Eusb2fslsdiscdetectiondis
impl Sync for Eusb2fslsdiscdetectiondis
impl Unpin for Eusb2fslsdiscdetectiondis
impl UnsafeUnpin for Eusb2fslsdiscdetectiondis
impl UnwindSafe for Eusb2fslsdiscdetectiondis
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