Enum Modechtimen
#[repr(u8)]pub enum Modechtimen {
Enabled = 0,
Disabled = 1,
}Variants§
Enabled = 0
The Host core waits for either 200 PHY clock cycles or a linestate of SE0 at the end of resume to change the opmode from 0x2 to 0x0.
Disabled = 1
The Host core waits only for a linestate of SE0 at the end of resume to change the opmode from 0x2 to 0x0.
Implementations§
§impl Modechtimen
impl Modechtimen
pub const fn from_bits(val: u8) -> Modechtimen
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Modechtimen
impl Clone for Modechtimen
§fn clone(&self) -> Modechtimen
fn clone(&self) -> Modechtimen
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 Modechtimen
§impl Debug for Modechtimen
impl Debug for Modechtimen
impl Eq for Modechtimen
§impl From<u8> for Modechtimen
impl From<u8> for Modechtimen
§fn from(val: u8) -> Modechtimen
fn from(val: u8) -> Modechtimen
Converts to this type from the input type.
§impl Ord for Modechtimen
impl Ord for Modechtimen
§fn cmp(&self, other: &Modechtimen) -> Ordering
fn cmp(&self, other: &Modechtimen) -> 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
§impl PartialEq for Modechtimen
impl PartialEq for Modechtimen
§impl PartialOrd for Modechtimen
impl PartialOrd for Modechtimen
impl StructuralPartialEq for Modechtimen
Auto Trait Implementations§
impl Freeze for Modechtimen
impl RefUnwindSafe for Modechtimen
impl Send for Modechtimen
impl Sync for Modechtimen
impl Unpin for Modechtimen
impl UnsafeUnpin for Modechtimen
impl UnwindSafe for Modechtimen
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