Struct xhci::registers::operational::PortHardwareLpmControlRegister[][src]

#[repr(transparent)]pub struct PortHardwareLpmControlRegister(_);

Port Hardware LPM Control Register

This register is onlyvalid for USB2 and is reserved for USB3.

Implementations

impl PortHardwareLpmControlRegister[src]

#[must_use]pub fn host_initiated_resume_duration_mode(self) -> u8[src]

Returns the value of the Host Initiated Resume Duration Mode field.

pub fn set_host_initiated_resume_duration_mode(&mut self, mode: u8)[src]

Sets the value of the Host Initiated Resume Duration Mode field.

#[must_use]pub fn l1_timeout(self) -> u8[src]

Returns the value of the L1 Timeout field.

pub fn set_l1_timeout(&mut self, timeout: u8)[src]

Sets the value of the L1 Timeout field.

#[must_use]pub fn best_effort_service_latency_deep(self) -> u8[src]

Returns the value of the Best Effort Service Latency Deep field.

pub fn set_best_effort_service_latency_deep(&mut self, latency: u8)[src]

Sets the value of the Best Effort Service Latency Deep field.

Trait Implementations

impl Clone for PortHardwareLpmControlRegister[src]

impl Copy for PortHardwareLpmControlRegister[src]

impl Debug for PortHardwareLpmControlRegister[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.