Struct xhci::registers::capability::CapabilityParameters1[][src]

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

Capability Parameters 1

Implementations

impl CapabilityParameters1[src]

#[must_use]pub fn context_size(self) -> bool[src]

Returns true if the xHC uses 64 byte Context data structures, and false if the xHC uses 32 byte Context data structures.

#[must_use]pub fn xhci_extended_capabilities_pointer(self) -> u16[src]

Returns the offset of the xHCI extended capability list from the MMIO base. If this value is zero, the list does not exist. The base address can be calculated by (MMIO base) + (xECP) << 2

Trait Implementations

impl Clone for CapabilityParameters1[src]

impl Copy for CapabilityParameters1[src]

impl Debug for CapabilityParameters1[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.