[−][src]Struct xhci::registers::runtime::InterruptRegisterSet
Interrupt Register Set
Fields
erstsz: EventRingSegmentTableSizeRegister
Event Ring Segment Table Size Register
erstba: EventRingSegmentTableBaseAddressRegister
Event Ring Segment Table Base Address Register
erdp: EventRingDequeuePointerRegister
Event Ring Dequeue Pointer Register
Implementations
impl InterruptRegisterSet
[src]
pub unsafe fn new<M>(
mmio_base: usize,
rtoff: RuntimeRegisterSpaceOffset,
mapper: M
) -> Result<Array<Self, M>, Error> where
M: Mapper,
[src]
mmio_base: usize,
rtoff: RuntimeRegisterSpaceOffset,
mapper: M
) -> Result<Array<Self, M>, Error> where
M: Mapper,
Creates an accessor to the Interrupt Register Set.
Safety
The caller must ensure that the Host Controller Runtime Registers are accessed only through this struct.
Errors
This method may return a accessor::Error::NotAligned
error if the base address of the
Interrupt Register Set is not aligned.
Trait Implementations
impl Clone for InterruptRegisterSet
[src]
fn clone(&self) -> InterruptRegisterSet
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InterruptRegisterSet
[src]
impl Debug for InterruptRegisterSet
[src]
Auto Trait Implementations
impl Send for InterruptRegisterSet
[src]
impl Sync for InterruptRegisterSet
[src]
impl Unpin for InterruptRegisterSet
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,