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

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

Structural Parameters 2

Implementations

impl StructuralParameters2[src]

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

Returns the value of the Isochronous Scheduling Threshold field.

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

Returns the maximum number of the elements the Event Ring Segment Table can contain.

Note that the ERST Max field of the Structural Parameters 2 register contains the exponential value, but this method returns the calculated value.

#[must_use]pub fn max_scratchpad_buffers(self) -> u32[src]

Returns the number of scratchpads that xHC needs.

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

Returns the value of the Scratchpad Restore field.

Trait Implementations

impl Clone for StructuralParameters2[src]

impl Copy for StructuralParameters2[src]

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