Struct xhci::registers::capability::StructuralParameters2
source · #[repr(transparent)]pub struct StructuralParameters2(_);
Expand description
Structural Parameters 2
Implementations§
source§impl StructuralParameters2
impl StructuralParameters2
sourcepub fn isochronous_scheduling_threshold(self) -> u8
pub fn isochronous_scheduling_threshold(self) -> u8
Returns the value of the Isochronous Scheduling Threshold field.
sourcepub fn event_ring_segment_table_max(self) -> u16
pub fn event_ring_segment_table_max(self) -> u16
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.
sourcepub fn max_scratchpad_buffers(self) -> u32
pub fn max_scratchpad_buffers(self) -> u32
Returns the number of scratchpads that xHC needs.
sourcepub fn scratchpad_restore(self) -> bool
pub fn scratchpad_restore(self) -> bool
Returns the Scratchpad Restore bit.
Trait Implementations§
source§impl Clone for StructuralParameters2
impl Clone for StructuralParameters2
source§fn clone(&self) -> StructuralParameters2
fn clone(&self) -> StructuralParameters2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StructuralParameters2
impl Debug for StructuralParameters2
impl Copy for StructuralParameters2
Auto Trait Implementations§
impl RefUnwindSafe for StructuralParameters2
impl Send for StructuralParameters2
impl Sync for StructuralParameters2
impl Unpin for StructuralParameters2
impl UnwindSafe for StructuralParameters2
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