Struct xhci::registers::runtime::EventRingDequeuePointerRegister
source · #[repr(transparent)]pub struct EventRingDequeuePointerRegister(_);
Expand description
Event Ring Dequeue Pointer Register.
Implementations§
source§impl EventRingDequeuePointerRegister
impl EventRingDequeuePointerRegister
sourcepub fn dequeue_erst_segment_index(self) -> u8
pub fn dequeue_erst_segment_index(self) -> u8
Returns the value of the Dequeue ERST Segment Index field.
sourcepub fn set_dequeue_erst_segment_index(&mut self, value: u8) -> &mut Self
pub fn set_dequeue_erst_segment_index(&mut self, value: u8) -> &mut Self
Sets the value of the Dequeue ERST Segment Index field.
sourcepub fn event_handler_busy(self) -> bool
pub fn event_handler_busy(self) -> bool
Returns the Event Handler Busy bit.
sourcepub fn clear_event_handler_busy(&mut self) -> &mut Self
pub fn clear_event_handler_busy(&mut self) -> &mut Self
Clears the Event Handler Busy bit.
sourcepub fn set_0_event_handler_busy(&mut self) -> &mut Self
pub fn set_0_event_handler_busy(&mut self) -> &mut Self
Set the Event Handler Busy bit to 0, preventing the bit from being cleared on write.
sourcepub fn event_ring_dequeue_pointer(self) -> u64
pub fn event_ring_dequeue_pointer(self) -> u64
Returns the address of the current Event Ring Dequeue Pointer.
sourcepub fn set_event_ring_dequeue_pointer(&mut self, p: u64)
pub fn set_event_ring_dequeue_pointer(&mut self, p: u64)
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§
source§impl Clone for EventRingDequeuePointerRegister
impl Clone for EventRingDequeuePointerRegister
source§fn clone(&self) -> EventRingDequeuePointerRegister
fn clone(&self) -> EventRingDequeuePointerRegister
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 Default for EventRingDequeuePointerRegister
impl Default for EventRingDequeuePointerRegister
source§fn default() -> EventRingDequeuePointerRegister
fn default() -> EventRingDequeuePointerRegister
Returns the “default value” for a type. Read more
impl Copy for EventRingDequeuePointerRegister
Auto Trait Implementations§
impl RefUnwindSafe for EventRingDequeuePointerRegister
impl Send for EventRingDequeuePointerRegister
impl Sync for EventRingDequeuePointerRegister
impl Unpin for EventRingDequeuePointerRegister
impl UnwindSafe for EventRingDequeuePointerRegister
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