Struct xhci::registers::runtime::EventRingDequeuePointerRegister[][src]

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

Event Ring Dequeue Pointer Register.

Implementations

impl EventRingDequeuePointerRegister[src]

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

Returns the value of the Dequeue ERST Segment Index field.

pub fn set_dequeue_erst_segment_index(&mut self, i: u8)[src]

Sets the value of the Dequeue ERST Segment Index field.

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

Returns the value of the Event Handler Busy bit.

pub fn clear_event_handler_busy(&mut self)[src]

Clears the Event Handler Busy bit.

#[must_use]pub fn event_ring_dequeue_pointer(self) -> u64[src]

Returns the address of the current Event Ring Dequeue Pointer.

pub fn set_event_ring_dequeue_pointer(&mut self, p: u64)[src]

Sets the address of the current Event Ring Dequeue Pointer. It must be 16 byte aligned.

Panics

This method panics if the address is not 16 byte aligned.

Trait Implementations

impl Clone for EventRingDequeuePointerRegister[src]

impl Copy for EventRingDequeuePointerRegister[src]

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