Struct xhci::registers::operational::PortHardwareLpmControlRegister [−][src]
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]
fn clone(&self) -> PortHardwareLpmControlRegister
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PortHardwareLpmControlRegister
[src]
impl Debug for PortHardwareLpmControlRegister
[src]
Auto Trait Implementations
impl Send for PortHardwareLpmControlRegister
impl Sync for PortHardwareLpmControlRegister
impl Unpin for PortHardwareLpmControlRegister
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,